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

Which is a solution to the equation y=5x-6
Whatis the wheel and axle?
A registered nurse (RN) pays 5% simple interest on a $175,000 mortgage for the construction of a house. What is the yearly interest paid on the mortgage?
Noah rows across a river that is 48m wide. The current carries him 15m downstream. How far does Noah actually travel?
What are Radio Waves?
How do you write I am 10 years old in japenese ( hiragana )
WHAT IS 123456567890*1423 THAT MEANS TO DIVIED PLEASE TELL ME THE ANSWER
what is an undefined nuclear region containing only nucleic acid
Can someone tell me what is a Genre?
if a sample of magnesium has a mass of 60 g, how many moles of magnesium does the sample contain