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('-')
In questa pagina del sito puoi guardare il video online Exercise 3.3 Drawing a gird | Python by Think Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Python Programmer 30 ottobre 2016, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 5,329 volte e gli è piaciuto 43 spettatori. Buona visione!