Judging Moose

This commit is contained in:
2023-07-19 20:56:22 +02:00
parent 9be61644a4
commit 7b7c85d278

7
judgingmoose.py Normal file
View File

@@ -0,0 +1,7 @@
l, r = map(int, input().split())
if l == r == 0:
print("Not a moose")
elif l == r:
print(f"Even {l+r}")
else:
print(f"Odd {max((l, r)) * 2}")