x=10
y=100
if x==y
print x
elif y>x
print y
result in python
Answers
Answered by
5
Answer:
CORRECT SYNTAX -
x, y = 10, 100
if x == y :
print x
else :
print y
first thing , your syntax is wrong. but if I correct the syntax then output will be
100
Answered by
1
Answer will be 100
Because x==y (10==100) so it won’t go in if statement part . Directly go in else part
Because x==y (10==100) so it won’t go in if statement part . Directly go in else part
Similar questions