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 fluid that fills the nucleus called?
Roosevelt's policy of 'speaking softly and carrying a big stick' enabled the U.S. to (A) build a large navy (B) become a world power (C) gain control over Korea
who was responsible for the holocaust
if 3ax+b+c, then x equals?
Based on diction, which of the following phrases would most likely complete this sentence: Kyle stomped into Taco Bell and __________. A. sweetly requested the
AP US History question: To what extent did the Federalist administrations of George Washington and John Adams promote national unity and advance the authority o
In the 2000 election, California had the A.most electoral votes and selected George Bush for president B.least electoral votes and selected Al Gore for presiden
An increase in which of the following areas created a decline in labor union membership? automobile manufacturing coal mining steelmaking service industry
which transformation preserves similarity between the preimage and image, but does not preserve congruence
Is choosing 5 players to represent the team at a fundraiser a permutation or a combination? please explain