8 lines
No EOL
212 B
Python
8 lines
No EOL
212 B
Python
a = int(input('What number do you want to start at? '))
|
|
b = int(input('What number do you want to end at? '))
|
|
|
|
# Print all numbers from a to b inclusively. Assume (a ≤ b)
|
|
|
|
while a <= b:
|
|
print(a)
|
|
a += 1 |