Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions problems/easy/easy_q1.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,4 @@
else:
print(f"{num} is Even")
except ValueError:
print("Enter only INTEGER that is ONLY NUMBER")


num = int(input("Enter a number: "))

if (num %2) == 0:
print("{0} is even".format(num))
else:

print(f"{num} is Even")


print("Enter only INTEGER that is ONLY NUMBER")