Describe what this function does. Try different numbers as input.
```
def test(num):
if num > 0:
return test(num-1)*num
else:
return 0
```
This method recursively calls itself with a decremented number, and multiplies that decremented number to the returned value till it hits 0. This has the effect of it always returning 0 as 0 times anything is 0.
You might also like to view...
Twitter's initial name was twttr
Indicate whether the statement is true or false
The favorites bar is a list of links to websites that are saved in your web browser
Indicate whether the statement is true or false
Which of the following commands can be used to remove a group from a Linux system? (Choose all that apply.)
A. rmgroup B. rmg C. groupdel D. delgroup
The ____________________ Browser provides parameters that can help you build queries.
Fill in the blank(s) with the appropriate word(s).