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

What did adolf hitler believe about the treaty of versailles that ended WWI?
im in a serious situation rh. please help​
Which of the following is a nonlinear function?​
Raquel completed a table with the justifications for each step of solving the equation 6y=3 .Does each of Raquel’s justifications fit with the corresponding ste
The denominator of a fraction in its simplest form is greater than the numerator by 3. If 7 is added to the numerator, and 5 added to the denominator, then the
What is the inner layer of cells that forms the gut and respiratory system in animals? endoderm blastula mesoderm ectoderm
What points are solutions to the equation 3x-4y-8=12
Read the passage from A Room of One’s Own. For surely it is time that the effect of discouragement upon the mind of the artist should be measured, as I have see
A local swimming pool does not use any selection tests. forty percent of the lifeguards employed at this swimming pool are identified as being successful at the
Why is it not acceptable to edit the genome of human embryos to treat genetic diseases ? Please answer this !! Will mark Brainliest answer !!