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 did the Magna Carta restrict the power of the king?
Please HELP!! Need to finish before the end of the day!
Compare and contrast photosphere vs chromosphere
Do you think plastic bags should be banned? Personal opinion: I think they should. But, I don’t think we should just ban them and not have a substation for them
B. Use the polite phrases in the box to ask permission for items. Would you mind if I...? Would it be alright if I...? Is it OK if I...? I wonder if it might be
what is the GCF of (8x-6) sos T-T
Simplify 4 + (-3) - 2 times (-6)
Read the excerpt from “The Caged Bird.” But a caged bird stands on the grave of dreams his shadow shouts on a nightmare scream his wings are clipped and his fee
which description is represented by a discrete graph
where is Cracow based?