migrate to git.charlotte.sh
This commit is contained in:
commit
fbd588721e
412 changed files with 13750 additions and 0 deletions
8
python-csi160/week06/week6practiceproblems/part2.py
Normal file
8
python-csi160/week06/week6practiceproblems/part2.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue