dogs = ['willie', 'hootz', 'peso', 'monty', 'doggy']
if len(dogs) >= 5:
print("Holy mackerel, we might as well start a dog hostel!")
elif len(dogs) >= 3:
print("Wow, we have a lot of dogs here!")
else:
print("Okay, this is a reasonable number of dogs.")
from datetime import datetime
date = ['Feb 09 2020', 'Feb 09 2020', 'Feb 09 2020', 'Feb 03 2020', 'Feb 03 2020']
formatted_dates = [ \
datetime.strptime(d, '%b %d %Y').strftime("%Y-%m-%d") \
for d in date ]
print(formatted_dates)