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

If 95 grams of Iron are needed to react with sulfur, how many grams of sulfur are involved in this reaction? 2 Fe + 3 S à Fe2S3
Blakely charges manufacturing overhead to products by using a predetermined application rate, computed on the basis of machine hours. The following data pertain
URGENT!! PART II please answer!! due at 11:59
The mean of Alice's last 5 math test scores is 88. The first 4 of these 5 math test scores were 87, 75, 93, and 85. What score did Alice earn on her fifth math
If the simple interest on ​$7,000 for 6 years is ​$​2,100 then what is the interest​ rate?
which of the following discriminants would show a quadratic has real and rational solutions 200 -196 -200 196
Which sentence BEST states the theme of this story?
Exercise has numerous health benefits. It conditions your heart and lungs and helps your body fight disease. Many people believe that exercise can help you look
plz help again I failed this test the first time
I need help SHOW YOUR WORK