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

The amusement park installed a new 260-foot-tall ride. This ride is 78 feet taller than the next tallest ride in the park. Write an equation using the subtracti
In the Trendline option window (curve fitting), the Set Intercept value is set to zero. What does this mean
Pls help and pls tell me what points to graph. I’ll give u brainliest
Gfbhrfjugbcfvjgfbnkgfbjjff if fvhhhgfvvb
The amount of energy needed to change 25 g of −30°C ice into 0°C liquid water is __________. A. 9,887.5 J B. 1,537.5 J C. 58,037.5 J D. 8,350 J
Ed hiked 3 kilmometers on Saturday and swam 2 kilometers on sunday. How many total meters did ed hike and swim on saturday and sunday ?
CAN SOMEONE HELP MEE TO ANSWER THIS QUESTION PLEASEE 50 POINTS
Simplify 10 times the square root of quantity 2 y end quantity plus 5 times the square root of quantity 2 y end quantity plus 3 times the square root of quantit
An isosceles triangle has side lengths of 16, an altitude of x, and a base of 2x. Find the length of the base.
Given the volume of the cone below, identify the radius, height, and diameter. Note: Figure is not drawn to scale.