Write a program that takes an integer input and checks whether it is even or odd.
num=int(input("Please Enter the Number : "))
num_check = num % 2
if (num_check == 0):
print(f"{num} even number")
else:
print("odd number ")
Dream Always Dream , if you don't work on it : Real-world Oracle DBA troubleshooting guides for RAC, Data Guard, RMAN, performance tuning, upgrades, backups, and cloud migration. Tested in production environments.
postgres=# postgres=# postgres=# postgres=# \c demo You are now connected to database "demo" as user "postgres". demo=...
No comments:
Post a Comment