+ 1
Please tell me what's the error in python
n = int(input("Enter a number:")) if n%2==0: print("Even") else: print("odd")
4 Réponses
+ 7
There is no error
Make sure from indentation inside if and else statement
+ 3
This is just an indentation problem
+ 2
I agree with Muhammad, just hit tap before the print function and you good to go