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

what are 3 nonpolar molecules used in everyday life?
Look at the graph and click the year in which the total number of deaths exceeded the total numbers of births
in the system you created in (a), give an example of a sudden change that would affect the stability of the system. Explain what may happen.
What is the equation of the line that passes through (-3, -1) and has a slope of 3/5
A nine-year-old child suddenly collapses in the hallway. The nurse finds a child and determines the child is in cardiac arrest and begin CPR. The nurse activate
The case states that google intended the limited initial rollout to be a beta test of google glass, meaning that the adopters were
Which of the following describes a difference between concentration camps and extermination camps in Nazi Germany? A. Concentration camps were built as part of
A pc and two laptops need to be added to a wireless router on the packet tracer network. what icon would provide the correct components?
Describe the organization of our solar system. What are the different divisions, or categories?
-4 + -7 (-2) =? Minus equations always give me trouble :/