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

In "The Road Not Taken" is about a walk in the woods. What is the meaning of the poem on a deeper level?
To what category does the vocabulary word socialist belong? A. types of government B. Government divisions C. political parties
what happens to the carbon atom: during photosynthesis (the light-dependent reactions)
Heat passes through liquids by the process of a. convection. b. absorption. c. radiation. d. conduction
The destruction of the Berlin Wall and the breakup of the Soviet Union signify the: A. End of the Cold War B. Collapse of the Taliban C. Strength of the Warsaw
If the point (-2, 5) is reflected across the y-axis, its image will be at (-2, -5). true false
What is one advantage of a confederation over a unitary government? A confederation is (3 points) Select one: a. less likely to allow the national government to
What basic needs are provided by an organism's habitat?
What are the physical properties of Sodium Chloride?
Jack has a collection of new nickels and quarters. he has a total of 50 coins worth $10.30. how many of each coin does he have?