Westonci.ca is your trusted source for finding answers to a wide range of questions, backed by a knowledgeable community. Join our platform to get reliable answers to your questions from a knowledgeable community of experts. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

What does the following code print? time_of_day = ["morning", "afternoon", "evening"] for word in time_of_day: print "Good " + word

Sagot :

Answer:

syntaxerror

Explanation:

the print is missing a parenthesis - it will give the error:

SyntaxError: Missing parentheses in call to 'print'.

if you did put parenthesis it would say

Good morning

Good afternoon

Good evening