# ys-pundir/my-python-learning-journey architecture

> Architecture diagram of the GitHub repository ys-pundir/my-python-learning-journey, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ys-pundir/my-python-learning-journey
- Repository: https://github.com/ys-pundir/my-python-learning-journey

## Overview

This is a collection of standalone beginner Python lessons and exercises, not an integrated application. The typical workflow is that a learner runs a script, provides input where requested, and sees printed results; individual exercises demonstrate conditionals, loops, collections, functions, file handling, or object-oriented programming. The graph shows representative runtime areas rather than every practice file. File-I/O variants and other README-mentioned topics are present in the tree, but their behavior was not sampled; no shared execution flow is evident.

Main entry points: [`file_io.py/file1.py`](https://github.com/ys-pundir/my-python-learning-journey/blob/main/file_io.py/file1.py) (File reading), [`conditional_statements/if_else/conditional_statement2.py`](https://github.com/ys-pundir/my-python-learning-journey/blob/main/conditional_statements/if_else/conditional_statement2.py) (Conditionals), [`loops/forLoop.py`](https://github.com/ys-pundir/my-python-learning-journey/blob/main/loops/forLoop.py) (Loops), [`ListAndTuples/list.py`](https://github.com/ys-pundir/my-python-learning-journey/blob/main/ListAndTuples/list.py) (Lists)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_fundamentals["Python fundamentals"]
  node_conditionals["Conditionals"]
  node_loops["Loops<br/>[forLoop.py]"]
end

subgraph group_collections["Collections"]
  node_lists["Lists<br/>[list.py]"]
  node_tuples["Tuples<br/>[tuples.py]"]
  node_dictionary["Dictionaries<br/>[dictionary.py]"]
  node_sets["Sets<br/>[sets.py]"]
end

subgraph group_functions["Functions and exercises"]
  node_functions["Function exercises"]
  node_number_assignment["Number processing<br/>[Code.py]"]
  node_number_class["Number processor<br/>[Code.py]"]
  node_marks["Marks exercise<br/>[Code.py]"]
end

subgraph group_fileio["File handling"]
  node_file_read["File reading<br/>[file1.py]"]
  node_file_write["File writing<br/>[write.py]"]
  node_file_practice["File-I/O practice"]
end

subgraph group_oop["Object-oriented practice"]
  node_attributes["Classes and attributes<br/>[Attributes.py]"]
  node_inheritance["Inheritance<br/>[inheritence.py]"]
  node_polymorphism["Operator overloading<br/>[polymorphisam.py]"]
end

node_learner(("Learner"))
node_terminal(("Console"))
node_input_file["Input file"]

node_learner -->|"runs"| node_conditionals
node_learner -->|"runs"| node_loops
node_learner -->|"runs"| node_lists
node_learner -->|"runs"| node_tuples
node_learner -->|"runs"| node_dictionary
node_learner -->|"runs"| node_sets
node_learner -->|"runs"| node_functions
node_learner -->|"runs"| node_number_assignment
node_learner -->|"runs"| node_number_class
node_learner -->|"runs"| node_marks
node_learner -->|"runs"| node_file_read
node_learner -->|"runs"| node_file_write
node_learner -->|"runs"| node_file_practice
node_learner -->|"runs"| node_attributes
node_learner -->|"runs"| node_inheritance
node_learner -->|"runs"| node_polymorphism
node_conditionals -->|"prints results"| node_terminal
node_loops -->|"prints results"| node_terminal
node_lists -->|"prints results"| node_terminal
node_tuples -->|"prints results"| node_terminal
node_dictionary -->|"prints results"| node_terminal
node_sets -->|"prints results"| node_terminal
node_functions -->|"prints results"| node_terminal
node_number_assignment -->|"prompts and prints"| node_terminal
node_number_class -->|"prompts and prints"| node_terminal
node_marks -->|"prints results"| node_terminal
node_file_read -->|"reads"| node_input_file
node_file_read -->|"prints contents"| node_terminal
node_file_write -->|"prints results"| node_terminal
node_file_practice -->|"prints results"| node_terminal
node_attributes -->|"prints results"| node_terminal
node_inheritance -->|"prints results"| node_terminal
node_polymorphism -->|"prints results"| node_terminal

click node_conditionals "https://github.com/ys-pundir/my-python-learning-journey/blob/main/conditional_statements/if_else/conditional_statement2.py"
click node_loops "https://github.com/ys-pundir/my-python-learning-journey/blob/main/loops/forLoop.py"
click node_lists "https://github.com/ys-pundir/my-python-learning-journey/blob/main/ListAndTuples/list.py"
click node_tuples "https://github.com/ys-pundir/my-python-learning-journey/blob/main/ListAndTuples/tuples.py"
click node_dictionary "https://github.com/ys-pundir/my-python-learning-journey/blob/main/dictionary_and_sets/dictionary.py"
click node_sets "https://github.com/ys-pundir/my-python-learning-journey/blob/main/dictionary_and_sets/sets.py"
click node_functions "https://github.com/ys-pundir/my-python-learning-journey/blob/main/function_practice1/function_recursions.py"
click node_number_assignment "https://github.com/ys-pundir/my-python-learning-journey/blob/main/Assignment/Code.py"
click node_number_class "https://github.com/ys-pundir/my-python-learning-journey/blob/main/Assignment2/Code.py"
click node_marks "https://github.com/ys-pundir/my-python-learning-journey/blob/main/Assignment3/Code.py"
click node_file_read "https://github.com/ys-pundir/my-python-learning-journey/blob/main/file_io.py/file1.py"
click node_file_write "https://github.com/ys-pundir/my-python-learning-journey/blob/main/file_io.py/write.py"
click node_file_practice "https://github.com/ys-pundir/my-python-learning-journey/blob/main/file_io.py/readingAndWriting.py"
click node_attributes "https://github.com/ys-pundir/my-python-learning-journey/blob/main/oops.py/Attributes.py"
click node_inheritance "https://github.com/ys-pundir/my-python-learning-journey/blob/main/oops.py/inheritence.py"
click node_polymorphism "https://github.com/ys-pundir/my-python-learning-journey/blob/main/oops.py/polymorphisam.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_conditionals,node_loops toneBlue
class node_lists,node_tuples,node_dictionary,node_sets toneAmber
class node_functions,node_number_assignment,node_number_class,node_marks toneMint
class node_file_read,node_file_write,node_file_practice toneRose
class node_attributes,node_inheritance,node_polymorphism,node_learner,node_terminal,node_input_file toneIndigo
```

## Components

### Python fundamentals

- [Conditionals](https://github.com/ys-pundir/my-python-learning-journey/blob/main/conditional_statements/if_else/conditional_statement2.py): `conditional_statements/if_else/conditional_statement2.py`
- [Loops](https://github.com/ys-pundir/my-python-learning-journey/blob/main/loops/forLoop.py): `loops/forLoop.py`

### Collections

- [Lists](https://github.com/ys-pundir/my-python-learning-journey/blob/main/ListAndTuples/list.py): `ListAndTuples/list.py`
- [Tuples](https://github.com/ys-pundir/my-python-learning-journey/blob/main/ListAndTuples/tuples.py): `ListAndTuples/tuples.py`
- [Dictionaries](https://github.com/ys-pundir/my-python-learning-journey/blob/main/dictionary_and_sets/dictionary.py): `dictionary_and_sets/dictionary.py`
- [Sets](https://github.com/ys-pundir/my-python-learning-journey/blob/main/dictionary_and_sets/sets.py): `dictionary_and_sets/sets.py`

### Functions and exercises

- [Function exercises](https://github.com/ys-pundir/my-python-learning-journey/blob/main/function_practice1/function_recursions.py): `function_practice1/function_recursions.py`
- [Number processing](https://github.com/ys-pundir/my-python-learning-journey/blob/main/Assignment/Code.py): `Assignment/Code.py`
- [Number processor](https://github.com/ys-pundir/my-python-learning-journey/blob/main/Assignment2/Code.py): `Assignment2/Code.py`
- [Marks exercise](https://github.com/ys-pundir/my-python-learning-journey/blob/main/Assignment3/Code.py): `Assignment3/Code.py`

### File handling

- [File reading](https://github.com/ys-pundir/my-python-learning-journey/blob/main/file_io.py/file1.py): `file_io.py/file1.py`
- [File writing](https://github.com/ys-pundir/my-python-learning-journey/blob/main/file_io.py/write.py): `file_io.py/write.py`
- [File-I/O practice](https://github.com/ys-pundir/my-python-learning-journey/blob/main/file_io.py/readingAndWriting.py): `file_io.py/readingAndWriting.py`

### Object-oriented practice

- [Classes and attributes](https://github.com/ys-pundir/my-python-learning-journey/blob/main/oops.py/Attributes.py): `oops.py/Attributes.py`
- [Inheritance](https://github.com/ys-pundir/my-python-learning-journey/blob/main/oops.py/inheritence.py): `oops.py/inheritence.py`
- [Operator overloading](https://github.com/ys-pundir/my-python-learning-journey/blob/main/oops.py/polymorphisam.py): `oops.py/polymorphisam.py`

### Other components

- **Learner**
- **Console**
- **Input file**

## Connections

- Learner → Conditionals: runs
- Learner → Loops: runs
- Learner → Lists: runs
- Learner → Tuples: runs
- Learner → Dictionaries: runs
- Learner → Sets: runs
- Learner → Function exercises: runs
- Learner → Number processing: runs
- Learner → Number processor: runs
- Learner → Marks exercise: runs
- Learner → File reading: runs
- Learner → File writing: runs
- Learner → File-I/O practice: runs
- Learner → Classes and attributes: runs
- Learner → Inheritance: runs
- Learner → Operator overloading: runs
- Conditionals → Console: prints results
- Loops → Console: prints results
- Lists → Console: prints results
- Tuples → Console: prints results
- Dictionaries → Console: prints results
- Sets → Console: prints results
- Function exercises → Console: prints results
- Number processing → Console: prompts and prints
- Number processor → Console: prompts and prints
- Marks exercise → Console: prints results
- File reading → Input file: reads
- File reading → Console: prints contents
- File writing → Console: prints results
- File-I/O practice → Console: prints results
- Classes and attributes → Console: prints results
- Inheritance → Console: prints results
- Operator overloading → Console: prints results
