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

who was the resident of usa in1983
How much does it cost to rent a business place for landscaping in Phoenix,Arizona?
As a lifeguard, Kaia has received training in CPR. She sees a small child fighting a rip current in the ocean. Kaia swims out to retrieve the girl, trying to ho
Directions: Write T it the statement is 1. Radiant energy spreads out from its source in all directions. 2. Electromagnetic radiation includes only visible ligh
The periodic test in Mathematics has 50 questions. If Joy got 90% correct answers, how many questions did she miss?​
Wire 10cm long of area of cross section 1.28cm^2 elongates by 1.4cm when 4.5kg is suspended from it. Find the stress and strain and young's modulus
4 × 0,4 × 0,04 × 0,002
Outline the process your workplace implements for case closure or client exits.
Contact lenses 1. should/shouldn't be worn.
Check the full form of the abbreviations in column 1. Short form Full