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

can someone please help me Why is illegal immigration a controversial issue? a. People think that the current laws on immigration address the issue well. b. The
3. Where would the following sentence best fit in the passage? Scientists have even created factories full of robots that make other robots. after sentence 11 a
What were affirmative action programs originally designed to encourage
Katrina has 2 blue ribbons for her hair 1/4 of all her ribbons are blue how many ribbons does Katrina have in all
What kind of resource is corn? A. animal resource B. mineral resource C. plant resource D. fossil fuel
I give 1/8 of my stamps to Tom. If I gave Tom 15 stamps, how many stamps did I have at first?
What did agriculture lead to?
Which of the following in the MOST CORRECT about the language of the Dravidian's? A. It is closely related to the language of the Aryan invaders B. it has becom
what is equivalent to 0.25 grams?
What kind of resource is corn? A. animal resource B. mineral resource C. plant resource D. fossil fuel