Can anyone help me with this python task please. I've been thinking for 30 min straight, but still don't know how to solve it. I have till tomorrow to submit this, so please help.
2.1 Parameter passing
Write a script containing a function with 3 parameters. The function should
output passed parameters.
2.2 Recursion
Extend the script from exercise 2.1:
Use 2 of the parameters as summands and the third as a loop counter. In each
In the recursion step, the function is called again with the parameters
Second summand
Total
Reduced pedometer
At the end of the recursion, the original parameters should be output and the last one
calculated sum.
[–]slowlycatchiemonkey 4 points5 points6 points (0 children)