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

3) Find the smallest number by which 2068 must be multiplied to make perfect square.equal solve ​
how the overfishing of a single species, such as the fish eaten by sea lions, can affect an entire ecosystem.
which was the first country discovered in all of Latin America?​
2. What is one aspect of your life that you think could benefit from more creative thinking? Why? 3. What is one thing you can do to think more creatively or in
Identify the policies of the Monroe Doctrine. declared that European nations must not colonize nations in the Western Hemisphere stated that the United States w
Can anyone help me with the final answers plzzzzz
hi help me who is genius this question what are acc that should be Cr and Dr and how will the ledger will be done also a little help will be helpfull​​
can someone help me with this?
HELPPP PLZ I WILL GIV BRAINLIESTWhat is the تران 0 1
Any help? Bsbhsjsjsjjsjsjsjsjjsjsjsjsjsjsjs