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

So I am about half way done with this chemistry question. Could someone help me finish it! After a good workout, athletes like to wash off the excess oils and
What is it called when a poet directly addresses a person or thing that cannot respond?
Use the quotation and your knowledge of social studies to answer the question. “The closeness of the place, and the heat of the climate, added to the number in
⁉️⁉️ 910 x 0.18945 ⁉️⁉️
Where can i find the story Amigo Brothers?
What does montresor do to ensure the success of his plan?
(3^2 + 9x + 6) − (8^2 + 3x − 10) + (2x + 4)(3x − 7)
Which word , if substituted for rogues, would best retain the meaning of the passage? A) Citizens B) Heros C) Scoundrels D) Felons
In the early twentieth century, Alfred Wegener proposed the continental drift hypothesis. He thought the continents had once been joined together and had drifte
simply each expression, use the distributive property to clear parentheses then combine like terms 6(x-2)+5x