Exercise 3.3 Drawing a gird | Python by Think Python

Publicado em: 30 Outubro 2016
no canal de: 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('-')


Nesta página do site você pode assistir ao vídeo on-line Exercise 3.3 Drawing a gird | Python by Think Python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Python Programmer 30 Outubro 2016, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 5,329 vezes e gostou 43 espectadores. Boa visualização!