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

name 2 sound devices and what type they are from the song Where Is The Love by the Black Eyed Peas.
Any number that is divisible by 3 is also divisible by 9.Find a counterexample to show that the conjecture is false.18274548
I = {1, 2} List all possible subsets of the given set.
A transformer has a primary coil with 600 turns and a secondary coil with 300 turns. If the output voltage is 320 volts, what is the input voltage?A. 8 volts
How many eights are there in 6 1/2
Given the inequalities y > 5x-8 and y >3x+4, find the point that satisfies one inequalities but not them all
Round 13 513 to the nearest thousand
Solve the system of equations.3x+3y+6z=33x+2y+6z=74x+4y+7z=4
1. Why are there active volcanoes along the Pacific coast in Washington and Oregon but not along the East coast of the United States?
I = {1, 2} List all possible subsets of the given set.