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

What was the major purpose of the Truman Doctrine?
What's the other word stubborn; inflexible
What would cause a decrease in the quality of circulating red blood cells
If 2/5 of a number is added to 1/3 of the same number ,the sum is 22. What is the number?
a subway train starts from rest at a station and accelerates uniformly at 1.8m/s^2 for 15 sec. then it runs at a constant speed for the next 35 sec. before dece
What's the word for wandering about; tending to move around, travel
What's the term for: unwilling to bend; unyielding
How did Niccolo Machiavelli’s book The Prince set him apart from other writers of the Renaissance?
a subway train starts from rest at a station and accelerates uniformly at 1.8m/s^2 for 15 sec. then it runs at a constant speed for the next 35 sec. before dece
Which of the following steps is not critical in the creation of Bt corn?a.Cut out a piece of DNA from a DNA molecule.b.Splice a piece of DNA into DNA from anoth