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

explain why water logged soils are usually deficient in nitrates​
Which excited electron has the lowest energy?
On Earth, water exists as
Use ABC to find the value of sin A. a. 12/37 b. 37/12 c. 35/37 d. 12/35
Bahia grass pastures in Florida are damaged by mole cricket infestations. Certain nematodes carry a bacterium which kills the mole crickets in a few daysWhat ro
A machine called Feynman, produces output, that is 5 times its input followed by an increase of 2. Another machine called Maxwell, produces output, that is 5 ti
If you know that the Romans originally settled around rome, in what direction did they move to settle the rest of italy
What is the volume of the square pyramid? Round to the nearest tenth.
What are the solutions of the equation 3x^2+8x=12
Somebody help meeeeeee!!