This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container-fluid"> | |
<h1 class="text-center" style="font-size:400%">Steve Jobs</h1> | |
<h3 class="text-center"><i>The man in the machine.</i></h3> | |
<div> | |
<img class="animated pulse img-rounded img-responsive" src="http://www.heyuguys.com/images/2015/11/steve-jobs-the-man-in-the-machin.jpg" style="height:600px;" alt="Steve jobs sitting"></img> | |
<p class="text-center">A still from the trailer of Steve Jobs: Man in the Machine</p> | |
</div> | |
<div> | |
<h2>Synopsis</h2> | |
<p class="synopsis">In his signature black turtleneck and blue jeans, shrouded in shadows below a milky apple, Steve Jobs' image was ubiquitous. But who was the man on the stage? What accounted for the grief of so many across the world when he died? From Oscar-winning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask | |
from flask_restful import Api, Resource, reqparse | |
app = Flask(__name__) | |
api = Api(app) | |
users = [ | |
{ | |
"name": "Nicholas", | |
"age": 42, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------- | |
# This is a compound interest calculator, along with some challenge | |
# Written by Leon Wee, March 2018. | |
# Anyone may freely copy or modify this program. | |
#------------------------------------------------------------------- | |
# C = P[(1+r)^n - 1] | |
# Where: | |
# C = the compound interest | |
# P = the principal investment amount (the initial deposit or loan amount) |