Judging Moose
This commit is contained in:
7
judgingmoose.py
Normal file
7
judgingmoose.py
Normal 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}")
|
||||||
Reference in New Issue
Block a user