Level 2 - python-1
Level 2 - python-1
LEVEL
2
AGENDA
✨ Features of Python
•Simple and Easy to Learn
•Open-source and Free
•Supports Object-Oriented
Programming (OOP)
•Huge Libraries Available
🌟 Why Learn Python?
•Beginner Friendly
•Widely Used in Industry
•Helps to build Games, Websites, Apps,
AI tools
6
Text or string of
str "Hello"
characters
15
My Personal Detail Program
is_student=is_student.lower()==“
yes”
• If we give yes means in output it
will print true if not it will print
false.
• is_student(Boolean)
• lower().it will come in lowercase
16
17
The if statement checks if a condition is True and executes the associated block
of code.
19
2. else Statement
The else statement is used to execute a block of code if the if condition
is False.
20
3. elif Statement:
The elif (else if) statement checks multiple conditions.
If the if condition is False, it checks the elif condition. If elif is also False, it moves to else.
21
THANK YOU