avatar Bite 73. Organize a meeting between timezones (pytz)

Help PyBites community friends find a reasonable common time to meet!

Complete the function below receiving a UTC datetime and one or more timezones (US/Arizona, Europe/Madrid, etc).

Use pytz to see if the given datetime is within MIN_MEETING_HOUR and MAX_MEETING_HOUR for all provided timezones. Return a boolean.

If a wrong timezone is given raise a ValueError.

See the TESTS tab for True/False scenarios. Good luck and have fun!

Login and get coding
go back Intermediate level
Bitecoin 3X

194 out of 194 users completed this Bite.
Will you be the 195th person to crack this Bite?
Resolution time: ~54 min. (avg. submissions of 5-240 min.)
Our community rates this Bite 5.88 on a 1-10 difficulty scale.
» Up for a challenge? 💪

Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help