1.

Write a python code to input a number and find its even or not?​

Answer»

print out an appropriate message to the user. Python Code: num = INT(input("Enter a number: ")) mod = num % 2 if mod > 0: print("This is an odd number. ") else: print("This is an even number.S



Discussion

No Comment Found