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

How did scientists discover the common structure of cells?
What is biogeography and what does it provide?
Why was is difficult for the Arab people to form one nation?
Find all powers of 4 in range 4 through 1,000
How did scientists discover the common structure of cells?
What is the mean of 87, 93, 86, 90, and 84?
Does every point lie in a quadrant?
Find all powers of 4 in range 4 through 1,000
Find the value of x.  Round to nearest hundredth if necessary.
Jim’s allowance is $1.20 per week. Stan’s is 25¢ per day. How long will they have to save, if they save both their allowances together, before they can get a m