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

Giuseppe is an Italian trader in the Mediterranean who trades goods from the Middle East, Asia, and other exotic places. Why does Giuseppe want other European e
How many moles of ammonium ions are in 6.985 g of ammonium carbonate?
Use the diagram above and round your answer to the nearest hundredth. If a is 6 in. and angle a = 31º, what is b?
What are 2 ttoes of functions of the cytoskeleton?
if a=3/2andb=3/4 which of the following has the greatest value.
What was the cause for the first punic war? Please explain in detail and tell me your sources.
Bonds that are backed solely by the general credit of the corporation issuing them are called _______ bonds.
Locate the complete prepositional phrase and identify its use. the film was made in spain. user: locate the complete gerund or infinitive phrase and identify it
A cannon ball is launched at 6 feet per second from the top of a platform 12 feet above the ground. a) Write the projectile motion equation that represents thi
What is a compsognathus?