Create a Python program to calculate the average of all the ratings in the given list of tuple.
[(3, 4), (5, 5), (7, 3)]
def avg_rating(ratings):
    total = 0
    for rating in ratings:
        total += rating[0] + rating[1]
    return total / (len(ratings)*2)