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

According to the Preamble, what are some goals of the Constitution?
Which best explains why water has a high specific heat?
what effect did China mountains and natural Barrier have on the development of its civilization ?
What type of energy does the plant use to convert co2 and h2o into sugar?
According to the law of conservation of matter, which statement about chemical reactions is true? a. energy is created as atoms are destroyed in chemical react
Why are carbohydrates important to the cell process?
A 6.0-kg object moving 5.0 m/s collides with and sticks to a 2.0-kg object. after the collision the composite object is moving 2.0 m/s in a direction opposite t
What is each number in scientific notation? Drag the answers into the boxes to match each number. 1,035,000,000,000 13,050,000 135,000,000,000,000 ​​
I thought both Steven and Isaac presented themselves very well. Both spoke clearly and concisely. They also both had good ideas on how to improve the school. Ho
how donyou solve .345-2.34?