From 4f91b45cccd3e8ec3f289629f12e8cb17562825a Mon Sep 17 00:00:00 2001 From: Spencerscooper Date: Thu, 25 Jan 2024 06:40:51 +0000 Subject: [PATCH] questions --- Questions/Question-section.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Questions/Question-section.md diff --git a/Questions/Question-section.md b/Questions/Question-section.md new file mode 100644 index 0000000..eae3b48 --- /dev/null +++ b/Questions/Question-section.md @@ -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