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

Determine whether the sequence coverage or diverges. If it converges, give the limit. 48, 8, 4/3, 2/9, ...
you measure or observe two events to occur at the same time one nearby and one further away. Which one did you actually see first?
Why was is difficult for the Arab people to form one nation?
Which of the following statements is true concerning LUCA? (1) LUCA was a cell. (2) All life on Earth evolved from LUCA. (3) LUCA probably existed probably arou
Why was is difficult for the Arab people to form one nation?
Which of the following statements is true concerning LUCA? (1) LUCA was a cell. (2) All life on Earth evolved from LUCA. (3) LUCA probably existed probably arou
Find all powers of 4 in range 4 through 1,000
An airplane travels 3,260 kilometers in 4 hours. What is the airplane’s average speed?
Natalie earns $2.50 for each cd she sells and $3.50 for each dvd she sells.  Natalie sold 45 dvds last year.  She earned a total of $780 last year selling cds a
How do scientists use seismic waves to determine the interior structure of Earth?