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!