+ 1
Creating a function to calculate the average of a given set of numbers using Tuple-based arguments.
https://www.sololearn.com/post/279699/?ref=app All the details should be in this post. Really need help on this.
2 odpowiedzi
+ 2
Don't *vals at parameter, it will unpack the tuple elements.
return the value, don't print in function.
Handle edge case (empty tuple).
https://code.sololearn.com/cNCvu9G2cuX4/?ref=app
0
Thanks a lot for this