#print if number is pair or odd
x=input("input random a number")
if(x%2==0):
print("is pair")
elif(x%2!=0):
print("is odd")
else:
print(" not is number")
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.