Exercise 3.3 Drawing a gird | Python by Think Python

Publicado el: 30 octubre 2016
en el 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('-')


En esta página del sitio puede ver el video en línea Exercise 3.3 Drawing a gird | Python by Think Python de Duración hora minuto segunda en buena calidad , que subió el usuario Python Programmer 30 octubre 2016, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 5,329 veces y le gustó 43 a los espectadores. Disfruta viendo!