Unit 2 Part 2 | Nested conditional statements, for and while loops, and Python functions explained in Hindi with examples. Basics of Python programming for pharmaceutical sciences, B.Pharm 1st semester, PCI 2026 syllabus.
Topics covered
• Nested if statements and a grading example
• For loops, range(), lists and strings
• While loops, infinite loops, break and continue
• Defining and calling functions; parameters and arguments
Chapters
00:00 If-elif Recap: Grading Example
01:54 Nested Conditional Statements
17:22 For Loops and range()
25:35 Looping Through Lists and Strings
31:51 While Loops and Infinite Loops
39:24 Break and Continue
40:24 Defining and Calling Functions
45:42 Function Parameters and Arguments
Study this subject in order
Previous lesson — Conditional statements, Unit 2 Part 1:
https://youtu.be/k-ZyjfkYntw
Continue with the Basics of Python programming for pharmaceutical sciences playlist on our channel.
FirstHope study resources
Website: https://www.firsthope.co.in/b-pharm
Android app: https://play.google.com/store/apps/details?id=co.alexis.viki
iOS app: https://apps.apple.com/in/app/myinstitute/id1472483563
iOS organization code: DYFFUX
Instagram: https://www.instagram.com/firsthope_pharmacy/
LinkedIn: https://www.linkedin.com/company/first-hope-fh/
#Python #PythonLoops #PythonFunctions