Completed Exercise 7-7 Infinity
This commit is contained in:
parent
ac9904b734
commit
26903a8411
8
Chapter_07/7-07_infinity.py
Normal file
8
Chapter_07/7-07_infinity.py
Normal file
@ -0,0 +1,8 @@
|
||||
# Exercise 7-7 Infinity
|
||||
# Learning Objective: Write an infinite loop.
|
||||
|
||||
num = 1
|
||||
myNum = 1
|
||||
while num < 100:
|
||||
print(myNum)
|
||||
myNum += 1
|
||||
Loading…
x
Reference in New Issue
Block a user