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

Work out the size of an interior angle of a regular nine sided figure.​
make z subject of formulae.[tex]r = az + \frac{3z}{2} [/tex]​
when i got on the website it says it has error and its not working
Does an institution serve a public or private purpose?
The amount of heat necessary to raise the temperature of 1 gram of water 1 degree is known as: a) Latent heat b) Specific heat c) Thermal capacity d) Heat capac
Where would an ET tube be located?A. stomachB. esophagusC. tracheaD. intestines
The midpoint of the line segment from P, to P2 is (- 1,7). If P, = (- 9,8), what is P2
A ball is shot out at a speed of 76 m/s At top of the flight, how much GPE does the ball have?
based on the 'night' by Elie Wiesel from the first 5 chapters what do you think about this: Is there such a thing as “Morality” in survival situations? Are huma
Who is melinda french