Professional Documents
Culture Documents
Python Day 5
Python Day 5
Note: Please watch the video before reading the notes, because
you will understand the concepts clearly when they are
explained with examples in a native language.
i
Conditionals
an
1) These are used when you need to do something depending on whether
or not a condition is satisfied.
av
2) We use if, elif, else keywords are used to implement the conditionals in
python.
Bh
3) Syntax:
if condition1:
statements-to-execute when condition1 is satisfied
elif condition2:
si
else:
m
Please check out the video of Day 7 to get a clear idea on the topic
with examples.
Instagram: https://www.instagram.com/vamsi_bhavani
Telegram for Jobs/Internships: https://t.me/VamsiBhavaniChannel
Vamsi Bhavani
i
an
av
Bh
si
m
Va