Why is my code not working? It prints correctly. I don't understand what the instructions are asking us to do. They are really vague.
def digit_sum(n): total = 0 for x in range(4): n = int(raw_input("Enter numbers to add: ")) total += n return total print digit_sum(10)