Uploaded by Ayan

Python Codes

advertisement
Python Codes
1)Even odd
x =input('number daalo\n')
if int(x)%2==0 :
print(x,'is even')
else :
print(x,'is odd')
2)
Download