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

List and describe the three elements of media literacy
Which is the simplified form of the expression {(p^2)(q^50}^5 * {(p^-4)(q^50}^-2
What is upward and downward social mobility of children to their parents called?
what is the difference between the cause and effect of an event in history
In which part of the body would you find striated muscle tissue with relatively small cells that have one or two nuclei?
Find the product. y 4 · y 3
what does a sounfld producer do?
What is the rate of change of Gareth’s distance from the bottom of the pool with respect to time, and what is his initial distance from the bottom? rate of cha
Why is it important to use natural resources wisely? Human and capital resources? How might human and capital resources be used wisely? (3 points)
A scale model of a school bus is 3 inches long. The actual school bus is 45 feet long. Which statement(s) are true?