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
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
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
English,
2 months ago
Computer Science,
2 months ago
Math,
2 months ago
Social Sciences,
4 months ago
Science,
4 months ago
Physics,
10 months ago
Chemistry,
10 months ago
Biology,
10 months ago