Skip to content

Dilpreet-Kaur-D/python-operators-loops-patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Python Control Flow and Pattern Programming

📖 Overview

This repository contains a Jupyter Notebook that covers the fundamental concepts of Python programming related to control flow. It includes theory, syntax, examples, and practice programs to help beginners understand how decision-making and iteration work in Python.


📚 Topics Covered

🔹 Python Operators

  • Arithmetic Operators
  • Comparison (Relational) Operators
  • Assignment Operators
  • Logical Operators
  • Bitwise Operators
  • Membership Operators
  • Identity Operators

🔹 Conditional Statements

  • if
  • if-else
  • if-elif-else
  • Nested if
  • Decision-making examples

🔹 Loops

  • for Loop
  • while Loop
  • Nested Loops
  • break
  • continue
  • pass

🔹 Pattern Programming

  • Star Patterns
  • Number Patterns
  • Alphabet Patterns
  • Pyramid Patterns
  • Inverted Patterns

🔹 Practice Programs

  • Basic programming exercises
  • Pattern-based coding problems
  • Logical problem-solving questions

🛠️ Technologies Used

  • Python 3
  • Jupyter Notebook

🎯 Learning Outcomes

After completing this notebook, you will be able to:

  • Understand different types of Python operators.
  • Write programs using conditional statements.
  • Use loops to solve repetitive tasks.
  • Apply loop control statements effectively.
  • Solve common pattern programming problems.
  • Strengthen logical thinking and problem-solving skills.

🚀 How to Use

  1. Clone or download this repository.
  2. Open the notebook in Jupyter Notebook or JupyterLab.
  3. Run the cells sequentially.
  4. Practice the exercises and modify the programs to improve your understanding.

👩‍💻 Author

Dilpreet Kaur

Learning Python through hands-on coding practice and real-world programming exercises.


⭐ If you find this repository useful, consider giving it a star!

About

Python practice notebook covering operators, conditional statements, loops, and pattern programming with examples and exercises.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors