Add py/Loops/task2.py

This commit is contained in:
Eduard Prigoana 2025-03-30 22:21:07 +03:00
parent dc95d94cc3
commit 544942090a

7
py/Loops/task2.py Normal file
View file

@ -0,0 +1,7 @@
# Initialize a counter variable
count = 0
# Loop while count is less than 10
while count < 10:
print("Potato") # Print "Potato"
count += 1 # Increment the counter by 1