# lakshayd02/python-programs architecture

> Architecture diagram of the GitHub repository lakshayd02/python-programs, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/lakshayd02/python-programs
- Repository: https://github.com/lakshayd02/python-programs

## Overview

Python-Programs is a collection of independent, runnable beginner examples—not a unified application. The documented workflow is to choose a script and run it with Python; its examples cover math, basic data handling, algorithms, and small interactive programs. The graph groups these scripts by topic and shows the documented run entry point. Source excerpts confirm behavior for only some scripts, so the graph does not infer internal calls or outputs for unsampled files.

Main entry points: [`1area.py`](https://github.com/lakshayd02/python-programs/blob/main/1area.py) (Area Calculator), [`practical1.py`](https://github.com/lakshayd02/python-programs/blob/main/practical1.py) (Area Exercise), [`argument.py`](https://github.com/lakshayd02/python-programs/blob/main/argument.py) (Arithmetic Functions), [`3LcmHcf.py`](https://github.com/lakshayd02/python-programs/blob/main/3LcmHcf.py) (HCF And LCM)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_math["Math Examples"]
  node_area["Area Calculator<br/>[1area.py]"]
  node_practical["Area Exercise<br/>[practical1.py]"]
  node_arithmetic["Arithmetic Functions<br/>[argument.py]"]
  node_hcf_lcm["HCF And LCM<br/>[3LcmHcf.py]"]
  node_statistics["Statistics Demo<br/>[4mathFunc.py]"]
end

subgraph group_data["Data And OOP"]
  node_student_class["Student Class<br/>[11oop.py]"]
  node_student_record["Student Record<br/>[9studentRecord.py]"]
  node_vowels["Vowel Counter<br/>[5vowelCount.py]"]
  node_duplicates["Duplicate Removal"]
  node_sum_elements["Element Sum<br/>[7SumElement.py]"]
  node_tuple_list["List To Tuple<br/>[8tupleFromList.py]"]
end

subgraph group_algorithms["Algorithms"]
  node_bfs_example["Tree BFS Example<br/>[external.py]"]
  node_bfs_draft["BFS Draft<br/>[1.py]"]
  node_bfs_repl["BFS REPL Example<br/>[2.py]"]
  node_fibonacci["Fibonacci<br/>[2fibo.py]"]
  node_largest["Largest Value<br/>[biggest.py]"]
  node_factorial["Factorial<br/>[10fact.py]"]
end

subgraph group_interactive["Interactive Programs"]
  node_tic_tac_toe["Tic-Tac-Toe<br/>[tic-tac-toe.py]"]
  node_water_jug["Water Jug Exercise"]
  node_pattern["List Sorting Demo<br/>[pattern.py]"]
  node_subject_marks["Subject Marks<br/>[subjectmarks.py]"]
end

node_learner(("Learner"))
node_python["Python Interpreter"]

node_learner -->|"runs chosen script"| node_python
node_python -->|"executes"| node_area
node_python -->|"executes"| node_practical
node_python -->|"executes"| node_arithmetic
node_python -->|"executes"| node_hcf_lcm
node_python -->|"executes"| node_statistics
node_python -->|"executes"| node_student_class
node_python -->|"executes"| node_student_record
node_python -->|"executes"| node_vowels
node_python -->|"executes"| node_duplicates
node_python -->|"executes"| node_sum_elements
node_python -->|"executes"| node_tuple_list
node_python -->|"executes"| node_bfs_example
node_python -->|"executes"| node_bfs_draft
node_python -->|"executes"| node_bfs_repl
node_python -->|"executes"| node_fibonacci
node_python -->|"executes"| node_largest
node_python -->|"executes"| node_tic_tac_toe
node_python -->|"executes"| node_water_jug
node_python -->|"executes"| node_pattern
node_python -->|"executes"| node_subject_marks
node_python -->|"executes"| node_factorial

click node_area "https://github.com/lakshayd02/python-programs/blob/main/1area.py"
click node_practical "https://github.com/lakshayd02/python-programs/blob/main/practical1.py"
click node_arithmetic "https://github.com/lakshayd02/python-programs/blob/main/argument.py"
click node_hcf_lcm "https://github.com/lakshayd02/python-programs/blob/main/3LcmHcf.py"
click node_statistics "https://github.com/lakshayd02/python-programs/blob/main/4mathFunc.py"
click node_student_class "https://github.com/lakshayd02/python-programs/blob/main/11oop.py"
click node_student_record "https://github.com/lakshayd02/python-programs/blob/main/9studentRecord.py"
click node_vowels "https://github.com/lakshayd02/python-programs/blob/main/5vowelCount.py"
click node_duplicates "https://github.com/lakshayd02/python-programs/blob/main/6removeDupliacte.py"
click node_sum_elements "https://github.com/lakshayd02/python-programs/blob/main/7SumElement.py"
click node_tuple_list "https://github.com/lakshayd02/python-programs/blob/main/8tupleFromList.py"
click node_bfs_example "https://github.com/lakshayd02/python-programs/blob/main/external.py"
click node_bfs_draft "https://github.com/lakshayd02/python-programs/blob/main/1.py"
click node_bfs_repl "https://github.com/lakshayd02/python-programs/blob/main/2.py"
click node_fibonacci "https://github.com/lakshayd02/python-programs/blob/main/2fibo.py"
click node_largest "https://github.com/lakshayd02/python-programs/blob/main/biggest.py"
click node_tic_tac_toe "https://github.com/lakshayd02/python-programs/blob/main/tic-tac-toe.py"
click node_water_jug "https://github.com/lakshayd02/python-programs/blob/main/water%20jug%20problem.py"
click node_pattern "https://github.com/lakshayd02/python-programs/blob/main/pattern.py"
click node_subject_marks "https://github.com/lakshayd02/python-programs/blob/main/subjectmarks.py"
click node_factorial "https://github.com/lakshayd02/python-programs/blob/main/10fact.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_area,node_practical,node_arithmetic,node_hcf_lcm,node_statistics toneBlue
class node_student_class,node_student_record,node_vowels,node_duplicates,node_sum_elements,node_tuple_list toneAmber
class node_bfs_example,node_bfs_draft,node_bfs_repl,node_fibonacci,node_largest,node_factorial toneMint
class node_tic_tac_toe,node_water_jug,node_pattern,node_subject_marks toneRose
class node_learner,node_python toneIndigo
```

## Components

### Math Examples

- [Area Calculator](https://github.com/lakshayd02/python-programs/blob/main/1area.py): `1area.py`
- [Area Exercise](https://github.com/lakshayd02/python-programs/blob/main/practical1.py): `practical1.py`
- [Arithmetic Functions](https://github.com/lakshayd02/python-programs/blob/main/argument.py): `argument.py`
- [HCF And LCM](https://github.com/lakshayd02/python-programs/blob/main/3LcmHcf.py): `3LcmHcf.py`
- [Statistics Demo](https://github.com/lakshayd02/python-programs/blob/main/4mathFunc.py): `4mathFunc.py`

### Data And OOP

- [Student Class](https://github.com/lakshayd02/python-programs/blob/main/11oop.py): `11oop.py`
- [Student Record](https://github.com/lakshayd02/python-programs/blob/main/9studentRecord.py): `9studentRecord.py`
- [Vowel Counter](https://github.com/lakshayd02/python-programs/blob/main/5vowelCount.py): `5vowelCount.py`
- [Duplicate Removal](https://github.com/lakshayd02/python-programs/blob/main/6removeDupliacte.py): `6removeDupliacte.py`
- [Element Sum](https://github.com/lakshayd02/python-programs/blob/main/7SumElement.py): `7SumElement.py`
- [List To Tuple](https://github.com/lakshayd02/python-programs/blob/main/8tupleFromList.py): `8tupleFromList.py`

### Algorithms

- [Tree BFS Example](https://github.com/lakshayd02/python-programs/blob/main/external.py): `external.py`
- [BFS Draft](https://github.com/lakshayd02/python-programs/blob/main/1.py): `1.py`
- [BFS REPL Example](https://github.com/lakshayd02/python-programs/blob/main/2.py): `2.py`
- [Fibonacci](https://github.com/lakshayd02/python-programs/blob/main/2fibo.py): `2fibo.py`
- [Largest Value](https://github.com/lakshayd02/python-programs/blob/main/biggest.py): `biggest.py`
- [Factorial](https://github.com/lakshayd02/python-programs/blob/main/10fact.py): `10fact.py`

### Interactive Programs

- [Tic-Tac-Toe](https://github.com/lakshayd02/python-programs/blob/main/tic-tac-toe.py): `tic-tac-toe.py`
- [Water Jug Exercise](https://github.com/lakshayd02/python-programs/blob/main/water%20jug%20problem.py): `water jug problem.py`
- [List Sorting Demo](https://github.com/lakshayd02/python-programs/blob/main/pattern.py): `pattern.py`
- [Subject Marks](https://github.com/lakshayd02/python-programs/blob/main/subjectmarks.py): `subjectmarks.py`

### Other components

- **Learner**
- **Python Interpreter**

## Connections

- Learner → Python Interpreter: runs chosen script (evidence: `README.md`)
- Python Interpreter → Area Calculator: executes (evidence: `README.md`)
- Python Interpreter → Area Exercise: executes (evidence: `README.md`)
- Python Interpreter → Arithmetic Functions: executes (evidence: `README.md`)
- Python Interpreter → HCF And LCM: executes (evidence: `README.md`)
- Python Interpreter → Statistics Demo: executes (evidence: `README.md`)
- Python Interpreter → Student Class: executes (evidence: `README.md`)
- Python Interpreter → Student Record: executes (evidence: `README.md`)
- Python Interpreter → Vowel Counter: executes (evidence: `README.md`)
- Python Interpreter → Duplicate Removal: executes (evidence: `README.md`)
- Python Interpreter → Element Sum: executes (evidence: `README.md`)
- Python Interpreter → List To Tuple: executes (evidence: `README.md`)
- Python Interpreter → Tree BFS Example: executes (evidence: `README.md`)
- Python Interpreter → BFS Draft: executes (evidence: `README.md`)
- Python Interpreter → BFS REPL Example: executes (evidence: `README.md`)
- Python Interpreter → Fibonacci: executes (evidence: `README.md`)
- Python Interpreter → Largest Value: executes (evidence: `README.md`)
- Python Interpreter → Tic-Tac-Toe: executes (evidence: `README.md`)
- Python Interpreter → Water Jug Exercise: executes (evidence: `README.md`)
- Python Interpreter → List Sorting Demo: executes (evidence: `README.md`)
- Python Interpreter → Subject Marks: executes (evidence: `README.md`)
- Python Interpreter → Factorial: executes (evidence: `README.md`)
