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

Article I of the U.S. constitution allows Congress to create lower federal courts beneath the Supreme Court. True False
solid water is less dense than liquid waterdiscuss one way this property is important for living organisms:
You—you— Your shadow is sunlight on a plate of silver; Your footsteps, the seeding-place of lilies; Your hands moving, a chime of bells across a windless air. T
I am tall when I am young, I am short when I am old. What am I.
In the desert food web shown below, which of the following best describes the transfer of energy between the desert tortoise and coyote?
write any two rule of function​
your brother travelled 134 miles in 2.25 hours to come home from school break at college. What was the average speed that he was traveling?
Find an expression for the number of colored border tiles needed for any N x N square center.
Find the solution to the initial value problem y′′+8y′+16=0, y(−1)=2, y′(−1)=3.
If courts in the United States suddenly dispensed with informal criminal justice models and instead relied on the formal procedure, what do you believe would ha