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

Body _____is commonly measured by using bioelectrical impedance analysis. a. mass b. density c. weight d. composition
Prior to 1994, Rwanda’s ethnic population was composed of ________
A theme expressed in both "To My Dear Loving Husband" and "To the King's Most Excellent Majesty" is
Rhyme does not usually rely on spelling but relies on _____. syllables rhythm sound sight Poetry that uses no rhyme scheme and no set meter is called _____. r
The movement of Americans from cities to communities outside an urban core is known as sub-urbanization. democratization. upward mobility. urbanization.
what colonies did England form in the late 1500s 1600s
Plants get their food by _____.
Choosing the “Quick Print” button will ____________. a. bypass the print dialogue box b. print to the default print c. immediately print the selected message
In "The Long Journey Through the Wilderness," how are Joshua and Caleb different from the other Israelites? A. They help Moses find manna and water when
One half of the birds at a pet store are yellow. Tara buys one of the yellow birds. Then one third of the birds at the store are yellow how many yellow birds w