ChamplainTechJournals/python-csi160/week06/week6practiceproblems/part2.py
2025-04-19 23:42:08 -04:00

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