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

Prove that (x^5)-(x^2)+2x +3=0 has at least one real root. Prove that x=cosx has at least one solution.
Scarcity is the condition of not having enough goods and services to satisfy everyone's?
what is the answer for (20,8),(9,16) ?
Find Domain of the functionsquare root of (x-8)/x(x-9)
Can someone use the word delta in a sentence
Find Domain of the functionsquare root of (x-8)/x(x-9)
how is mass transit in cities a possible solution tk urban air pollution?
Scarcity is the condition of not having enough goods and services to satisfy everyone's?
find an equivalent expression without parentheses -(50x-15y+15)=
Scarcity is the condition of not having enough goods and services to satisfy everyone's?