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 is the meaning of the unknown factor or quotient
why is the understanding of classification an important life skill
Why did the founding fathers compromise on using a federal system for the new government?
can a tank of oxygen gas ever be half empty? explain
Which two countries were in conflict because they both tried to settle in the Upper Ohio River Valley?
If u add 5 to me and then divide by 9,u get 3. What number amI?
The sides of a triangle have lengths s, s + 4, and 3s. Which expression represents the perimeter of the triangle?
Which two actions by the federal government were attempts to preserve the Union in the face of a bitter quarrel over slavery? A. Gadsden Purchase and Homestead
How many joules are needed to warm 45.0 grams of water from 30.0 degrees C to 75.0 degrees C?
What does 12(2x3-.5)+10