for <loopCounter> in <list>:
<statement(s)>def <functionName>(<parameter1>, <parameter2>,
..., <parameter>):
<statement(s)> # this is the function
bodydef makeSentence(word1, word2, word3):
sentence = word1 + " " + word2 + " " + word3
return sentence
def main():
sent1 = makeSentence("I", "love", "CS303e")
sent2 = makeSentence("Elvis", "totally", "rocks")
sent3 = makeSentence("It", "snowed", "Tuesday")
print sent1
print sent2
print sent3
main()