Pybites Logo

At what time does pybites live?

Level: Beginner (score: 2)

Get to know pytz! pytz brings the Olson tz database into Python (docs). Let's see how many hours Bob and Julian have to bridge in order to deliver you PyBites. It differs depending on whether it's Winter or Summer in their relative hemispheres.

Complete the what_time_lives_pybites function which receives a naive / not timezone aware datetime object (see the docs for what the difference is). 

First convert the passed in naive_utc_dt to a aware datetime, then convert it to AUSTRALIA and SPAIN localized datetimes returning them in a tuple. For a bit more advanced pytz Bite try this Bite: Organize a meeting between timezones

Have fun and keep coding in Python!