Time Zone Calculator

This code is in 2 steps
Step1: We will create a list of all the time zones available, by using the pytz library.
Step2: Use that list to fetch the date & time of each time_zone one-by-one, using the datetime library.

import datetime
import pytz 

# create list to contain all time zones
time_zones = []
# Step 1: collecting all the time zones in a list
for tz in pytz.all_timezones:
# step 2 fetch the date & time of each zone
for zone in time_zones:
    # passing zones on-by-one to the datetime method as parameter
    now_time = datetime.datetime.now(zone)
    # using strftime method to clear the output
    my_time = now_time.strftime("%m/%d/%Y, %H:%M:%S")
    print(f'{zone} (Date and Time)\t: {my_time}')