Exercise: Get sum of tuple
Create a function called
get_sum
that takes a tuple as an argument and returns the sum of its values.### adjust code here ###
def
print(get_sum((1, 3, 5, 7, 9))) # expected 25
print(get_sum((-3, 3, -3, 3, -3))) # expected -3
Python
Setting up Python environment...
Output