Category Python
Fibonacci Series in Python using Recursion
In Python or other programming languages, Fibonacci series is a list of infinite numbers, each of which is the sum of past two numbers (starting with 0). For example, 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55,…
Recursion in Python | Recursive Function, Example

Recursion in Python or any other programming language is a process in which a function calls itself one or more times in its body. It may call itself directly or indirectly. If any function definition accomplishes the condition of recursion,…
Lambda Function in Python
A function that is defined without a name is called lambda function in Python. It usually consists of a one-line expression that shows a function using the lambda construct. Sometimes, we also call it as an anonymous function in Python.…
Global in Python | Global Keyword
Global in Python is a keyword that we use to make a variable global in the function. A global keyword allows us to modify a variable outside of the current scope. The scope of local variable is limited to the…
Scope in Python
Using a function defines the concept of scope in Python. If we define a variable inside a function or pass a value to a function’s parameter, the value of that variable is only really accessible within that function. This is…
