arshmalik
arshmalik arshmalik
  • 26-02-2022
  • Computers and Technology
contestada

Give output for the following:
a. i=125

if i<124:

else:

print(i, 'is a greater number')

print(i, 'is a lesser number')​

Respuesta :

GeorgeDim
GeorgeDim GeorgeDim
  • 26-02-2022

Output: Syntax Error

(Since the if statement is empty, which is not allowed in python)

In case you mistyped the Question:

The condition i<124 is false,

so the code from the else part will get executed.

Output: '125 is a lesser number'

Answer Link

Otras preguntas

Find the perimeter or circumstance and area if the unit on the graph measures 1 centimeter. Round answer to the nearest tenth, if necessary 1. triangle ABC Ay
[tex]3x-8\leq 4[/tex]
What MOST motivated the British to explore and settle in Southeastern North America? the desire to spread the Christian religion the desire to find and claim so
List the steps of the rational model of decision making in the correct order, with the first step listed at the top and the last step listed at the bottom.
[ Brainliest ] Apply it! The measure of each central angle of a regular 36-sided polygon is ___ degrees.
Questions attached in photo (geometry!! please help me!)
The formal for the valume v of a cylinder v=nr^(2)h,where is r is the radius of the base and h is height of the cylinder. solve the formal for h. then find the
An airplane travel 780 miles in 4 hours the equation y= 195x models this situation Part A: what is the constant of proportionality Part B: what does the consta
The Leap - What Are These Answers?
what is 3.82 wrinnan as a mixed number