Notes for Python
Introduction to Python:
Python Features & Application:
Variable in Python:
What is Dynamic type :
Data types in Python :
Print function in Python :
type function in Python :
Module in Python :
How to take user input :
Operators in Python :
Arithmetic Operator :
Assignment Operator :
Relational Operator :
Logical Operator :
Identity Operator :
Membership Operator :
Decision Control in Python :
Single line if-else :
Practice Problems :
Loops in Python :
Range in Python :
Break Keyword :
Continue keyword :
Loops based problems :
List in Python :
Slicing :
Common list methods :
Tuple in Python :
Tuple methods :
Dictionary in Python :
Dictionary methods :
There are many methods in dictionary but here most common methods are given.
Looping in dictionary :
Sets in Python :
Sets Operations :
We can perform many operations in sets but most common is union and intersection. you can explore other operations like subset, superset etc.
Function in Python :
Functions are reusable blocks of code that perform a specific task. They help to make your code modular and organized.
There are four ways to define a function.
1.Takes Nothing , Return Nothing
2.Takes Something , Return Nothing
3.Takes Nothing , Return Something
4.Takes Something , Return Something
Default Arguments :
Positioned V/S Keyword Arguments :
Lambda Expression :
You Tube Channel: