Exercise: Calculate the average value

Create a function called get_avg that takes a list of numbers as argument and returns the average of those numbers.
### define function get_avg ###
print(get_avg([10, 20, 30])) # expected 20 print(get_avg([-10, 0, 10])) # expected 0
Python
Setting up Python environment...
Output