CCC 2015 J1: Special Day
- Mac Zhang
- Jul 23, 2020
- 1 min read
A simple if-else statement comparing inputs
def dates(a,b):
if a == 2 and b == 18:
print("Special")
elif a < 2 or (a == 2 and b < 18):
print("Before")
else:
print("After")
month = int(input())
date = int(input())
dates(month,date)
Comments