Answers for "how to add to a variable in a for loop"

0

how to add to a variable in a for loop

n = 5
while n > 0:
    print n
    n = n-1
print 'Blastoff!'
Posted by: Guest on February-29-2020

Code answers related to "how to add to a variable in a for loop"

Python Answers by Framework

Browse Popular Code Answers by Language