Find the output:num=70if 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
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
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