Answer:
date1 = "01/12/2022"
date2 = "02/11/2022"
if date1[3:5] > date2[3:5]:
print(date1, "is greater than", date2)
else:
print(date2, "is greater than", date1)
1.6m questions
2.0m answers