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

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

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

#!/usr/bin/python3

count = 0
for letter in 'Snow!':
    print('Letter # ' + str(count) + ' is ' + str(letter))
    count += 1
    break
print(count)

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

Letter # 0 is S
1
'''