superstaralora8 superstaralora8
  • 18-01-2021
  • Computers and Technology
contestada

What will be printed by the following code segment?
x=15
if x==25:
print ('Pizza is yummy’)
else:
print ('My teacher is awesome')

Respuesta :

oladayoademosu
oladayoademosu oladayoademosu
  • 23-01-2021

Answer:

My teacher is awesome

Explanation:

This is because, since x = 15 and the output only prints 'Pizza is yummy’ for x == 25, and 'My teacher is awesome' for everything else, the output is thus 'My teacher is awesome' since, x = 15 ≠ 25.

Answer Link

Otras preguntas

How do social values influence consumer purchase behavior and brand performance
1 pts The Dingles have some friends drop in. They wish to serve sherry but do nor have enough to serve all the same kind. So they mix some which is 20% alcohol
please answer this paper
anyone please help please ASAP?!!!!!
Marlon jogs two miles to the park in 25 minutes, turns around, and takes another 55 minutes to walk the same path back to his house. What is his average speed f
A. Complementos indirectos Complete las oraciones con el pronombre del complemento indirecto apropiado.
A helium-filled balloon has a volume of 10 000 L at 20°C. Determine the volume of the gas at 25 °C
What is the correct slope-intercept form of the equation y+4=2(x−3)?
See pic asap grade 5
Write the number in numerical form-twenty-six thousandths