Files
gitbook/test/fixtures/PAGE.md
T
2014-04-10 11:00:52 +01:00

777 B

Python basics

Python is a nice language, you can add stuff. Bla bla bla.

Lets jump into an exercise :


It's dead simple, c must be the sum of a and b

a = 1
b = 2
a = 1
b = 2
c = a + b
assert(c, 3)

Some more nice content ....

Cool stuff

Link to another Markdown file

And look at this pretty picture: Pretty

Lets go for another exercise but this time with some context :


Exercise with some context code :

Using the double function provided, build a quadruple function



def quadruple(x):
    return double(double(x))

assert(quadruple(8), 32)

def double(x):
    return x * 2