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 a difference between vitamins and minerals?
If you flip a fair coin 5 times, what is the probability that you will get exactly 2 tails?
which situation can be represented by the equation -4(5)=-20?
Item 11Item 11Carolyn McGee wants to get into fashion merchandising. Because of the risks involved in high fashion, and how quickly fashions go out of date, Car
Which statements are true? Select each correct answer. A. All triangles have 3 straight sides. B. Only some triangles are polygons. C. All triangles are plane f
Tammy was curious if quadrilaterals ABCDABCDA, B, C, D and FGHEFGHEF, G, H, E were congruent. She was able to map one figure onto the other using a reflection a
The mean of 2 and 14
i need this help with this problem x^2+4x-5=0 using the “completing the square” method step by step
If there are 80 pages in this weeks edition, how many pages can she predict will have advertisements
if WZYX PMLN describes two quadrilaterals, which other statement is also true?