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 value of n will make the rational number -17\n an integer
what is environmental geography?
how did the environment affect early americans
This was a big help. Thank you so much!
What is the range of the function y = 5sin(θ 60°) − 4?
simplifying algebraic expressions1-10
What is 36% as a fraction and a decimal?
element that is rolled into a foil found and used in your kitchen
Which of these statements is most likely correct about the Nebular theory of formation of solar system? . . A. It is based on facts which are non-testable. . .
a spider has 8 legs. an ant has 6 legs.there are a group of spiders and a group of ants.the groups have equal numbers of legs. what is the least number of spide