questions
parent
97694c3b23
commit
4f91b45ccc
@ -0,0 +1,19 @@
|
||||
# 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
|
Loading…
Reference in New Issue