Develop a Python script to calculate the average of all the numbers present in a list.
list_num = [1, 5, 9, 10, 6]
def avg(list_num):
    sum = 0
    
    for num in list_num:
        sum += num
    
    return sum / len(list_num)

print("Average is:", avg(list_num))