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

Is △DBE similar to △ABC ? If so, which postulate or theorem proves these two triangles are similar? A. △DBE ​ is similar to ​ △ABC ​ by the ​ SAS Similarity Th
Please help! A is too confusing for me
How to solve for w 8w^2+60=44w
A gym has 200 members who pay $30 per month for unlimited use of the gym’s equipment. A survey of the members indicates that for each $5 increase in the monthly
Read the passage. It begins when people move into a rural area to escape the overcrowding of the city. As they build and develop a new community, more and more
To form the plural of a noun ending in s, sh, ch, or x, you should add        A. s.   B. ies.   C. ves.   D. es.
(x-12) divided by y +z
A town produces a large number of tires and a small amount of kiwi fruit. As kiwis become more popular, the town decides to grow more kiwis and decrease tire ma
Multiply the following polynomials and enter the MISSING LINEAR Term : −3y(5y3 + 11y2 − y + 8) =−15y4 −33y3 + 3y2 − _____?_____
A snail moves at a speed of 2.5 feet per minute. How many yards will the snail have moved in half an hour?