You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
891 B
Markdown

9 months ago
# Questions
#### According to python when a function call itself is consider to be a recursive. So can I consider a recursive function as another form of loop? If yes how can I identify that a function is a recursive function?
## Q2
In python we use *args and **kwargs as an parameter in a function when we want to send a multiples values as a argument when the function is called. Example
def jetrowebmembers(*args):
print(args)
Jetrowebmembers(“Spencer”,”Freena”,”Thomas”,”Mulbah”)
Though this funcation is a user Define funcation, How can
I make it a recursive function?
## Question3
What is the main function of a retun in a function body? Like for example I know that print function display information to the user or pass information to the console.
But if I tried using the return in the function without including the print function it retuns not or error