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

Simplify 17d-5e+13d-7e
Use patterns of zeros to find 5600÷7 show your work.
Simplify 17d-5e+13d-7e
Find a rational number between -1/4 and 2/5
what is the solution to 3!
give the number of valence electrons for each of the following: Ba, Al, P, Se, Br, K
A number is doubled and then increased by seven. The result is ninety three. What is the origonal number
How might a soldier inconspicuously attack his enemy?
Stuck! Help Please! What was the ultimate cause for the conflict and later charges that were brought against Leschi? A. Leschi was appointed Chief of the Nisqua
5x+7y=77 5x+3y=53 2x+5y=-1 X+2y=0 3x+6y=6 2x-3y=4