Python If-Else

The if-else statement is used in python for decision making. If Statements: Syntax if(condition): statement(s) If Examples: 01. Example x=2 if x>10: print(“Number is greater than 10.”) print(‘This will always …

Read more

Python Lambda Functions

Lambda function is a function without a name. Lambda function is also known as an anonymous function. They are defined using lambda keyword. Lambda functions are used extensively along with …

Read more

Python For Loops

Python For Loops:   Used to iterate over a sequence (list, tuple, string) or other iterable objects. Iterating over a sequence is called traversal.   Table Of Contents 01. For …

Read more

Python Recursion

A function can call other functions. It is even possible for the functions to call itself. These types of construct are termed as recursive functions. Recursion Concept: Image Source: LinkedIn …

Read more