6. Consider these two function definitions:
def poem(word, num):
if(num == 1):
print "A "+ word,
else:
print "is " + word
def main():
first = "cookie"
second = "ice cream"
poem(first, 1)
poem(second, 1)
What will be printed when we call main()?
|
"A cookie is cookie"
"A cookie is ice cream"
"A cookie A cookie"
"A cookie A ice cream"
|