Write a Python program to calculate the standard deviation of a given list of numbers.
[1, 2, 3, 4]
def calculate_sd(lst):
    avg = sum(lst) / len(lst)
    return (sum([(x - avg)**2 for x in lst]) / len(lst)) ** 0.5