diff options
author | standenboy <standenboy@StandenboyLAP.lan> | 2024-01-29 13:03:11 +0000 |
---|---|---|
committer | standenboy <standenboy@StandenboyLAP.lan> | 2024-01-29 13:03:11 +0000 |
commit | 073f1ce23d470bd85b0eb7497308f879ee214a48 (patch) | |
tree | 952fe9390276a8d7158a706aaf4231e44ebb9ff0 /comp/hw/106/2.py | |
parent | eb1a5582181bf3188f30d665a295321d36bdc795 (diff) |
added 106
Diffstat (limited to 'comp/hw/106/2.py')
-rw-r--r-- | comp/hw/106/2.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/comp/hw/106/2.py b/comp/hw/106/2.py new file mode 100644 index 0000000..f537aa4 --- /dev/null +++ b/comp/hw/106/2.py @@ -0,0 +1,7 @@ +num = int(input("num: ")) + +if (num % 2) == 0: + print("its even") +else: + print("is odd") + |