Computer Science, asked by gopalringu31, 4 months ago

Find the error.
x=40
y=90
If(x>y and x<50)
print(a+10))
ELIF(x 50):
print(b*10)

Answers

Answered by radhasinghtomar1
0

Answer:

If(x>y and x<50): (here : need to be added)

print(a+10) (only single bracket)

ELIF(x 50):

print(b*10)

Because of : the print part will be written after giving some space automatically.

hope it helps u

:)

Answered by DARK1238DEVIL
0

Answer:

ERROR :

* IN THIRD LINE

* IN FOURTH LINE

* IN FIFTH LINE

Explanation:

IN THIRD LINE THE ERROR ARE:

If:

* if should the correct one followed by (:) mark should be in the last line

IN FOURTH LINE THE ERROR ARE:

*print(a+10) should be the correct one.

IN THE FIFTH LINE THE ERROR ARE:

* elif should in the small letters and between x and 50 relationship operators should be added

Similar questions