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

Jerome finds the value of the expression 3 − 2 + 7 by first rewriting the expression as 3 − 7 + 2. Complete the explanation of what is wrong with Jerome's appro
What are some examples of actions that Great Britain took prior to 1776 that the colonists might have viewed as abuses?
TASK 2: THE EFFECTS OF DAMMING THE COLORADO RIVER Human adaptations to the environment, such damming rivers, can have consequences. For example, for many years
Hallar la suma de los dos términos que continuan0 ; 2 ; 3 ; 4 ; 6 ; 6 ; …
You are writing a letter home in Spanish. In 5 sentences, tell your parents about what happened to you at the market last week.
A compound that almost completely breaks apart in water and produces hydroxide ions is a
Why do you think that Thomas Jefferson wrote a paragraph about slavery when he wrote the Declaration of Independence?
Divide. Write your answer in simplest form. 6/5 divided by 5/8
What is the answer for (3/4)(3/5)=​
1) 16% of what number is 14? 2) 52 is what percent of 156