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 is one way that the judicial branch of government can keep the executive and legislative branch in check?
I forgot how to do this
What is de numerator in a 11/12 fraction
Is it 15 , 75 , 90 , or 105 degrees ?
Most western cities are located: in dry valleys, in the mountains, or at the foot of mountains.
Calculate the moles of cu in 7.1×1021 atoms of cu
Shakespeare structured The Tempest so it ends with Prospero addressing the audience directly. How does this decision most clearly affect the story? A. It reveal
a car travels 157 miles on 10 gallons of gasoline mentally calculate the number of miles that the car travels on one gallon of gasoline
Based on this chart, what is the marginal revenue, in dollars, at quantity three jackets?Select one:a. Fourb. 11c. 16d. 36
HELP QUICKLY!!!!! You get 20 points (Don't put random answers,or I will report) In your own words, why is stare decisis important?