datetime
date
time
timedate
1 2 10
1 10 3
1 3 10
Error
27
17
22
15
30
25
0
False
None
Recursive Function
Lambda Function
Built-in Function
Generator Function
lambda x => x+1
lambda(x): x+1
lambda x: x+1
def lambda(x): x+1
Can contain multiple statements
Can have only one expression
Must use return statement
Cannot take arguments
Calling one function from another function
Calling a function repeatedly from itself
Using nested loops
Using lambda functions
Required Argument
Keyword Argument
Default Argument
Decimal Argument
Positional
Keyword
Default
Variable
#
&
*
**
List
Tuple
Dictionary
Set
Increases code duplication
Reduces code reusability
Promotes code reusability and modularity
Makes program slower
Anonymous Function
10
20
Local Variable
Static Variable
Global Variable
Instance Variable
Global Scope
Built-in Scope
Local Scope
Module Scope
3
5
8
Declared outside all functions
Declared in loop
Declared using global
Declared inside a function