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

Round to the nearest hundred thousand 894,659
Help solve this question please
state three characteristic of lines of magnetic flux​
2 Now comes the really tricky part. Can you come up with your own magic square? You have to use positive and negative numbers. Go ahead, earn your E and impress
Rewrite the following equation in slope-intercept form. 16x + 15y = 20 Write your answer using integers, proper fractions, and improper fractions in simplest fo
-(3a + 2) - 3(50 +7)
What are the 3 C's and E of Decision Making The answers are: Clarify, Consider, Choose, Evaluate Clarify, Classify, Choose, Evoke Consider, Choose, Claim, Effec
Quan điểm tiếp cận lịch sử trong nghiên cứu KHGDMN
Which of the following statements is NOT true about the structure of DNA? 1.Between nucleotides, the base A will bind to the base G, and the base T will bind to
3. please help me with this question will give BRAINLIST to best answer