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

A scarf is made of 65% cotton. If the scarf weighs 18 ounces, then how much cotton is in the scarf
what is a private club?
Find an equation for the nth term of the arithmetic sequence. -15, -6, 3, 12, ... an = -15 + 9(n + 1) an = -15 x 9(n - 1) an = -15 + 9(n + 2) an = -15 + 9(
What is 50/100 in simplest form.
Find the equation of a line that is parallel to y = 5x + 7 and passes through (4, 3) A) y = 5x + 3B) y = 5x - 17 C) y = 5x + 17 D) y = 15x - 17 show work
y=x+5 find four solutions of each function
Match the philosopher with his ideas, achievements, or events in his life. Plato A.wrote works praising one of the other philosophers who left no writings. B.ta
2. Two angles have a common vertex but no common side. How can you tell whether the angles are vertical angles?
Draw 2 similar polygons and show how they are proportional by labeling the side lengths and angles. Use a similarity sentence to show how they are similarsimila
Can someone please help me with this question