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

Packages

Contributors

Languages