programming:python:python
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| programming:python:python [2022/11/30 12:21] – ateixeira | programming:python:python [2024/07/08 13:42] (current) – [Exercice 4 : for2] ateixeira | ||
|---|---|---|---|
| Line 56: | Line 56: | ||
| <code python> | <code python> | ||
| - | nombre = input(' | + | nombre = input(' |
| for i in range(int(nombre)): | for i in range(int(nombre)): | ||
| - | print(i+1) | + | print(i+1, end=' ') |
| </ | </ | ||
| * Then press Esc key | * Then press Esc key | ||
programming/python/python.1669810904.txt.gz · Last modified: 2022/11/30 12:21 by ateixeira