for town, kwarg in list({'Fredericton': dict(d=3, m=3, y=2010, lat='45.959045',
    int='-66.640509', is_rise=True, utc_time=20), 'Beijing': dict(d=29, m=
    3, y=2010, lat='39:55', int='116:23', is_rise=True, utc_time=+8),
    'Berlin': dict(d=4, m=4, y=2010, lat='52:30:2', int='13:23:56',
    is_rise=False, utc_time=+2), 'Moscow': dict(d=4, m=4, y=2010, lat=
    '55.753975', int='37.625427', is_rise=True, utc_time=4)}.items()):
    print(town, calculate_time(**kwarg))
Sunrise / set calculations