0
May somebody explain me why isn't it working
int(num) = input("input a number") if num > 5: print("Number is 5") else: if num == 11: print("Number is 11") else: if num == 7: print("Number is 7") else: print("Number isn't 5, 11 or 7")
2 Respuestas
+ 3
Replace first line with
num = int(input("input a number"))
You're trying to assign value to function
0
yaa replace first line.....