Completed Exercise 7-7 Infinity

This commit is contained in:
cheeks 2025-02-05 20:45:53 -05:00
parent ac9904b734
commit 26903a8411

View 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