Welcome to the Complete Diploma in Information Technology (DIT)
00: 00 π Introduction β DIT Python Programming Course (PBTE)
00: 50 π Lab #20 Problem Statement
01: 10 π» Writing the Python Program Step by Step
01: 45 π For Loop to Iterate over each element in List
03: 00 π₯οΈ startswith() function
04: 58 βΆοΈ Why do we use for loop in a list?
05: 20 β‘ Source Code Implementation in PyCharm IDE
07: 00 π To find a name startswith βBβ and endswith βaβ
07: 49 π’ Like, Share & Subscribe for Complete DIT Python Course
This video course based on the Punjab Board of Technical Education (PBTE), Pakistan syllabus.
#DIT #PBTE #Python #PythonProgramming #IntroductionToProgramming #DITPakistan #PBTEDIT #Programming #PythonTutorial #Lab20 #MuhammadAshrafSiddiqui #LearnPython #PythonForBeginners #PakistanEducation #diplomaininformationtechnology #ashrafsiddiqui
In this lecture, we solve Lab #20 from the First Semester β Introduction to Programming (Python) course.
π Lab #20
Write a script that finds all the elements in a list that start with the letter ‘B’.
Names = [“Ali”, “Shayan”, “Baqir”, “Bareera”, “Zulfiqar”]
π― What You Will Learn
β
Python Lists
β
String Methods
β
Conditional Statements
β
Looping Through Lists
β
Finding Elements That Start with a Specific Letter
β
Beginner-Friendly Python Programming
This lecture is designed according to the latest PBTE DIT syllabus and is explained step by step in a simple and practical manner. Whether you are a beginner or preparing for exams, this series will help you build a strong foundation in Python programming.
π DIT Course
First Semester
π Introduction to Programming (Python)
π¨βπ« Instructor: Muhammad Ashraf Siddiqui
π Subscribe for More Lectures
β Complete PBTE DIT Python Course
β Lab-wise Practical Solutions
β Real-Life Programming Examples
β Assignment Solutions
β Exam Preparation
β Beginner-Friendly Explanations
π Don’t forget to Like, Share, Comment, and Subscribe for upcoming DIT video lectures.
Welcome to your ultimate learning hub for ICS Computer Science & Entrepreneurship (Punjab, Pakistan β PTBB 2025). We provide easy-to-understand lectures, notes, solved exercises, and exam prep for 1st and 2nd-year ICS students. Subscribe for Python programming, data analytics, software development, digital literacy, and more β all aligned with the latest PTBB syllabus. Learn smart, score high!