Makiyahlfton6609 Makiyahlfton6609
  • 02-06-2022
  • Computers and Technology
contestada

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

Respuesta :

notleoprobably
notleoprobably notleoprobably
  • 03-06-2022

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

Answer Link

Otras preguntas

How do you make slime? Here is how you make some slime: Basic slime for beginners: Elmer’s White school glue: or CRAY-Z art glue. Next get two bowls. One medium
i do not know how to answer this question? any suggestions? help please
I don’t really understand what 2:3 means and how do I find the answer?
Why didn’t the united states fully investigate the u.S.S. Maine explosion before going to war with spain?
Who makes the decisions about which news items will be covered
What’s W over 4 - 13=11
Chan rows at a rate of 8 mph in still water. It takes him three hours to row upstream from his house to the park. He rows back home, and it takes him 2 hours. W
HEY YOU. I need help writing 3-5 paragraph's on why should i be project manager
Which best explains why the rulers of early civilizations expected people to pay taxes for projects like building canals and city walls? A. The people were unde
What is the equation of the line that passes through (8,5) and (-1,2)?