# Lab_5_Exercise_1_Problem_2 # a) def printString(): for index in 'spam': print(index, end="") return # Main part of the program printString()