Find the output:
num=70
if num = 50:
print(“50”)
elif num == 10:
print(“10”)
elif num = 70:
pri

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”)​

About the author
Harper

1 thought on “Find the output:<br />num=70<br />if num = 50:<br />print(“50”)<br />elif num == 10:<br />print(“10”)<br />elif num = 70:<br />pri”

  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

    Reply

Leave a Comment