Computer Science, asked by VamsiGupta, 2 months ago

x=10
y=100
if x==y
print x
elif y>x
print y
result in python ​

Answers

Answered by CoderRishav
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 heerp6843
1
Answer will be 100
Because x==y (10==100) so it won’t go in if statement part . Directly go in else part
Similar questions