Exercises
Exercise 1: printing a grid (revisited)
+ - + - +
| | |
+ - + - +
| | |
+ - + - +>>> print('line 1 \nline 2')
line 1
line 2
>>> print('line 1' + '\n' + 'line 2')
line 1
line 2
>>> Exercise 2: Srinivasa Ramanujan infinite series
Last updated