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

34 days to 2 weeks the ratio is
Find equation where line passes through (7,8) and perpendicular to line y=8
Cage company had income of $350 million and average invested assets of $2,000 million. its return on assets (roa) is
Lara chose a square number. She rounds it to the nearest hundred. Her answer is 200. What are all the possible square number she could have chosen?
which of the following is an example of an archetypal situation a: the lady warrior b: the trickster c: the quest d: the theme
Find the explicit formula and the type of function X Y -2 -1 -1 -3 0 -5 1 -7 2 -9
What did charles darwin hypothesize about the origin of bipedalism?
A substance needed to convert an inactive form of an enzyme to an active form is called what
What number must you add to complete the square? x^2 + 14x = -7 49?
43.278 kg - 28.1 g use significant figures rule