- 1
whats wrong with my code
num=10 num=int(input("enter a number")) if num==7: print("oops sorry") if num==8: print("you missed it") else: print("try again")
1 Respuesta
+ 2
What's the problem you are facing? I only suggest to put a `elif` instead of `if num==8: ` to avoid some unexpected behaviors