I created a function that consumes a list of values and produces the average. However it only works when I use integer values. I get the following error when I make the values into floats:
min() arg is an empty sequence
What's wrong here. If it works for integers, why not floats. How do I fix this?