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

The ratio of Sam age to Hanks is 5 to 3. If the sum of their ages is 24, how old is Hank?
three snack bars contain 1/5,0.22,and 19% of their calories from fat. which snack bar contains the least amount of calories from fat ?
The tropical climate zone is in which two states?
Bethany's dog eats 450 grams of food per day. How many kilograms does the dog eat in a week
What is the correct term for a release of an ovum in the female reproductive system?
What are some 5th grade science words that start with y
what was the first industry to be regulated by the united states goverment?                                               a. oil   b.meat packing  c. steel  D.
Which sentence correctly forms the plural of the letter R? A. Three R's make up her initials.
In the top row of an chessboard, Tom writes the values 1, 2, 4, 8, 16, 32, 64, 128. In the leftmost column, Tom writes the values 1, 3, 9, 27, 81, 243, 729, 2
I am two numbers, the sum of my numbers is 100, the difference between my two numbers is 30,