#we can compare date class and datetime class objects using ==,<,>.

from datetime import date
d1= date(2019,6,20)
d2=date(2010,6,20)

print(d1==d2)
print(d1>d2)
print(d1<d2)
print(d1!=d2)






































