blob: 7dcaa4016457ec4b69f62c64eeb1c9d29279a483 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# 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`
```py
a = 1
b = 2
```
```py
a = 1
b = 2
c = a + b
```
```py
assert(c, 3)
```
---
Some more nice content ....
[Cool stuff](http://gitbook.io)
[Link to another Markdown file](./xyz/file.md)
And look at this pretty picture:

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
```py
```
```py
def quadruple(x):
return double(double(x))
```
```py
assert(quadruple(8), 32)
```
```py
def double(x):
return x * 2
```
---
|