Exercise 3.3 Drawing a gird | Python by Think Python

Published: 30 October 2016
on channel: Python Programmer
5,329
43

1. Write a function that draws a grid like the following:
- - - - + - - - - +
| | |
| | |
| | |
| | |
- - - - + - - - - +
| | |
| | |
| | |
| | |
- - - - + - - - - +
Hint: to print more than one value on a line, you can print a comma-separated sequence of
values:
print('+', '-')
By default, print advances to the next line, but you can override that behavior and put a
space at the end, like this:
print('+', end=' ')
print('-')


On this page of the site you can watch the video online Exercise 3.3 Drawing a gird | Python by Think Python with a duration of hours minute second in good quality, which was uploaded by the user Python Programmer 30 October 2016, share the link with friends and acquaintances, this video has already been watched 5,329 times on youtube and it was liked by 43 viewers. Enjoy your viewing!