Skip to content
تعلیم کہانی
  • Home
  • Courses
  • Blog Articles
  • Login
  • Toggle website search
Menu Close
  • Home
  • Courses
  • Blog Articles
  • Login
  • Toggle website search

Introduction to Python

  1. Home>
  2. Courses>
  3. Introduction to Python
  • Home
  • Courses
  • Freelancing
  • Introduction to Python

Introduction to Python

Curriculum

  • 2 Sections
  • 26 Lessons
  • 10 Weeks
Expand all sectionsCollapse all sections
  • Week 1
    10
    • 1.1
      Introduction to Python – Part A
      15 Minutes
    • 1.2
      Introduction to Python – Part B
      12 Minutes
    • 1.3
      Setting Up Visual Studio Code for Python Programming and Debugging
      6 Minutes
    • 1.4
      Running Your First Program in Python and Debugging
      9 Minutes
    • 1.5
      Taking Input from the User and Utilizing it
      8 Minutes
    • 1.6
      Cleaning User Input Using ‘Methods’ of Strings
      6 Minutes
    • 1.7
      Good Coding Practices
      14 Minutes
    • 1.8
      Positional and Named Parameters in Python
      9 Minutes
    • 1.9
      Joining String Together
      4 Minutes
    • 1.10
      Assignments for Week 1
      60 Minutes
  • Week 2
    16
    • 2.0
      Manipulating Strings in Python
      14 Minutes
    • 2.1
      Splitting Text and String Expressions in Python
      6 Minutes
    • 2.2
      Data Types for Numbers in Python
      14 Minutes
    • 2.3
      Mathematical Expressions and Operators in Python
      9 Minutes
    • 2.4
      Defining a Custom Function in Python
      14 Minutes
    • 2.5
      How to Get a Return Value from a Function in Python
      12 Minutes
    • 2.6
      Conditional Statements – If, Elif and Else in Python
      10 Minutes
    • 2.7
      Multiple Comparisons using If
      9 Minutes
    • 2.8
      Determine if a Number is Odd or Even in Python
      9 Minutes
    • 2.9
      Match – Case in Python
      8 Minutes
    • 2.10
      Assignments for Week 2
      90 Minutes
    • 2.11
      While Loop In Python
    • 2.12
      For Loops in Python
    • 2.13
      Print Text Multiple Times in Python
    • 2.14
      Infinite Loop Using While, Continue and Break Statements
    • 2.15
      Detailed Look at Lists in Python

While Loop In Python

20 While Loop In Python

 

Welcome to our Python programming tutorial! Explore the foundational while loop—a powerful tool in Python for executing code blocks repetitively with efficiency. Delve into the basics of while loops and their role in reducing redundant code, supported by practical examples that illustrate their functionality. Follow a step-by-step guide to implementing while loops in Python, emphasizing best practices for initializing and updating loop variables to ensure optimal performance.

Gain essential insights into the importance of accurate loop conditions to prevent infinite loops and learn effective strategies for managing loop control variables. Whether you’re new to programming or seeking to enhance your skills, this tutorial equips you with valuable knowledge to streamline your code and improve its maintainability using while loops in Python.

Assignments for Week 2
Prev
For Loops in Python
Next
Copyright 2025 - TaleemKahani.com

Modal title

Main Content