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

Force and Motion: Force changes _________.
How do figure out 120/f = 1.2?
Translucent definition: __________ is allowed to pass through translucent objects.
what causes the earths crust to move ?
deer : woods : : monkey :
which is an example of a physical change* metal rusting*silver tarnishing* water boiling* paper burning
A man exchanged a dollar bill for change and received 7 coins, none of which were half dollars. How many of these coins were dimes?
what is the difference between a pentagonal prism and a pentagonal pyramid???????????
The density of ice is 0.92 g/cm3. An ice sculptor orders a one cubic meter block of ice. What is the mass of the block? Hint: 1 m3 = 1,000,000 cm3. Give your an
How much does 3000 kg = to get tons