Skip to content

Nitesh2417/Python_assignment_1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Python Pattern Programs

A collection of Python programs to print various number, star, and character patterns using loops. Solved as part of practice for strengthening logic-building and nested loop concepts.

πŸ“Œ About

This repository contains solutions to common pattern-printing problems in Python β€” a classic exercise for mastering for and while loops, nested iteration, and conditional logic.

πŸ—‚οΈ Patterns Covered

  • Star patterns (triangle, pyramid, inverted pyramid, diamond)
  • Number patterns (Pascal's triangle, Floyd's triangle)
  • Character/alphabet patterns
  • Hollow shapes (square, triangle, diamond)
  • Mixed patterns (numbers + stars)

πŸ› οΈ Tech Stack

  • Python 3.x
  • Jupyter Notebook

πŸš€ How to Run

  1. Clone the repository:
   git clone https://github.com/Nitesh2417/Python_assignment_1.git
  1. Open Pattern.ipynb in Jupyter Notebook or VS Code.
  2. Run each cell to see the pattern outputs.

πŸ“– Sample Pattern

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors