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

Write the formula for Newton's method and use the given initial approximation to compute the approximations x_1 and x_2. f(x) = x^2 + 21, x_0 = -21 x_n + 1 = x_
What was the significance of the June 1783 soldiers' march on Philadelphia?
If cosA = 3/5 and A ∈ (630,720), find sin2A
The regular price of a dress is $80. The price has been marked up by 23%. What is the amount of mark up?
Distinguish between major classes of biomolecules, proteins, lipids, carbohydrates, nucleic acids?
A(n) _____ is any stimulus or event capable of producing physical or emotional stress.
A ball is fixed to the end of a string, which is attached to the ceiling at point P. As the drawing shows, the ball is projected downward at A with the launch s
An airplane's velocity is represented by the vector p = 30i-492j+42k. There is a crosswind of velocity t=19j-45k. Use this information to determine the vector
Compare and contrast the Egyptian beliefs and practices for the dead with those in your culture. What are the differences in the practice? what are the similari
please help asap please