Rewrite a given Python program to be more efficient.
my_list = [1,2,3,4,5,6]
count = 0

for number in my_list:
    count += number

print(count)
my_list = [1,2,3,4,5,6]

# Use the sum() function to get the sum of a given list
count = sum(my_list)

print(count)