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

The earth system made mainly of surface is water called the ?
In hamlet, act i, scene i, which character does shakespeare use most to create suspense?
Who's president of the united stated
What are the roots of the equation: X^2 - 10x -20 =20 1. 10±6√5 2. -10±6√5 3. 5±3√5 4. -5±3√5 Please explain and show work! Thanks A Bunch!
How does the nervous system work with the respiratory system?
What are the three territories of canada?
How many elements are there in the periodic table?
if the atmosphere is like a greenhouse,what part of it function as the 'glass'
What happens when a home goes into foreclosure?
Why isn't the cause of Cystic Fibrosis considered a frameshift mutation?