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

2 fractions have the same denominator. Which is the greater fraction: the fraction with the greater numerator or thr lesser numerator
Rock layers are correlated if they both contain the same ____.
Explain how gravitational, electrical, and magnetic forces act on a maglev train
What is a potential disadvantage of the third-person point of view in “The Lottery”? A.) The reader has limited information about what Tessie is thinking. B.) M
People vote on the members of the Supreme Court. true or false?
Can someone explain to me the multiplicative inverse in detail please i don't understand
The________ channels sound to the eardrum.
what I'd the answer to 49,base 7
Which of these animals is a marsupial? a. elephant b. echidna c. dolphin d. kangaroo
Bush hailed from Georgia. a. True b. False