nick34992 of Python
2/2/2017 - 7:18 AM

MITx 600.1x | Week 1 | Python Basics | 2. Core Elements of Programs | Exercise 5a

MITx 600.1x | Week 1 | Python Basics | 2. Core Elements of Programs | Exercise 5a

#!/usr/bin/python3

num = 10

for num in range(5):
    print(num)
print(num)

'''
MITx 600.1x | Week 1 | Python Basics | 2. Core Elements of Programs | Exercise 5a

total = 6
'''