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's the other term for: explosive or changing very quickly
if Xx8=y is the rule,and the value of x is 4, what is the value of y
What's the other term for: explosive or changing very quickly
why dog pants during summer use the cocept of evaporation
what do I do to figure out this problem:3x+8=26+x
what is 12minus 2 multiply 6 plus 2 divide by 2
Molecular scientists can read the DNA code and compare the DNA of different organisms. This concept is used in molecular clocks to determine which of the follow
Molecular scientists can read the DNA code and compare the DNA of different organisms. This concept is used in molecular clocks to determine which of the follow
if Xx8=y is the rule,and the value of x is 4, what is the value of y
Amy raised £n for charity. Chris raised £18 more then any. The mean amount raised by the two of them is £45. Work out how much money each one of them raised