Math, asked by jaybhayeshubham2005, 2 months ago

Find the output:
num=70
if num = 50:
print("50")
elif num == 10:
print("10")
elif num = 70:
print("70")
else:
print("Number is not 50,10 or 70")
print("Number is not 50,10 or 70")​

Answers

Answered by 616mcu
1

Answer:

You would get an error because in first if loop

num=50 is not a condition

hence it would be an error

if that is rectified to num==50

and along with that elif num==70

then output will be 70

or else it would show error

Similar questions