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
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
Physics,
1 month ago
Physics,
1 month ago
French,
1 month ago
Business Studies,
2 months ago
Math,
2 months ago
Social Sciences,
9 months ago
English,
9 months ago