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 [2022/11/30 12:41] (current) – 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 | ||
Line 83: | Line 82: | ||
nombre2 = input(' | nombre2 = input(' | ||
- | for i in range(int(nombre1), | + | for i in range(int(nombre1), |
print(i, end=' | print(i, end=' | ||
programming/python/python.1669810904.txt.gz · Last modified: 2022/11/30 12:21 by ateixeira