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

Find the remainder when a is divided by m a = 207^321 + 689! ; m=7
Which sequence of transformation carries ABCD onto EFGH
Use division of numbers in scientific notation to answer the question. (8.64 × 104) (2.4 × 102) What is the quotient in scientific notation? 3.6 × 102 6.24 × 10
Duccio specialized in what style of art
Does air decrease in temperature as it rises throughout ALL the layers of the atmosphere?
how were the lives of Americans affected after the war ended? A) Americans increasingly opposed authority of the federal government. B) sectional differences l
What is tan 45º? help me plzzzx
An exothermic reaction causes the surroundings to A. warm up. B. become acidic. C. expand. D. decrease its temperature. E. release CO2
Functional proteins are enzymes that are made up of ___ and have an asymmetrical carbon. A. proteins B. vesicles C. amino acids D. carbohydrates
In a pizza store, there are six possible toppings. On a large pizza, you can have 3 toppings. How many combinations of pizza toppings are there?A. 10B. 15C. 30