0
What's problem with my python code"finding odd"
x=int(input()) if x<0: print (str(x)+" is neither even nor odd number.") else : if x%2==0: print (str(x)+" is an even number.") else: print (str(x)+" is an odd number.")
5 Respostas
+ 1
show yor attempt first so we know where to help.
+ 1
Indentation error
Please check and rewrite line 4
0
This is the code.It produces error.
0
Thanks for your help.Problem is sorted now.