# If you convert all your date to `datetime.date`, you can write the following: if start <= date <= end: print("in between") else: print("No!")