# 2025cspradeepkumarrae-la/repo1 architecture

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

- Interactive diagram: https://gitdiagram.com/2025cspradeepkumarrae-la/repo1
- Repository: https://github.com/2025cspradeepkumarrae-la/repo1

## Overview

This repository is a collection of standalone Python exercises, not a single application. Each script prompts for input or uses a fixed/input file, performs a small calculation or text operation, and prints or writes a result. The graph groups related exercises by subject; the user is the initiating actor. The excerpts do not show the contents of several tiny scripts, so their behavior and connections are left unspecified.

Main entry points: [`p6.py`](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p6.py) (Sort file words), [`p1a.py`](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p1a.py) (Student marks), [`p1b.py`](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p1b.py) (Age check), [`p2a.py`](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p2a.py) (Fibonacci sequence)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_basics["Basic exercises"]
  node_p1a["Student marks<br/>[p1a.py]"]
  node_p1b["Age check<br/>[p1b.py]"]
  node_calendar["Calendar script<br/>[calender.py]"]
end

subgraph group_math["Math exercises"]
  node_p2a["Fibonacci sequence<br/>[p2a.py]"]
  node_p2b["Binomial coefficient<br/>[p2b.py]"]
  node_p3["Statistics<br/>[p3.py]"]
  node_p4["Digit frequency<br/>[p4.py]"]
  node_p7["Matrix operations<br/>[p7.py]"]
  node_p8["Division check<br/>[p8.py]"]
  node_p9["Complex addition<br/>[p9.py]"]
  node_collaz["Collatz sequence<br/>[collaz.py]"]
end

subgraph group_text["Text exercises"]
  node_p5["Word frequency<br/>[p5.py]"]
  node_p6["Sort file words<br/>[p6.py]"]
  node_newtxt["Input text file<br/>[new.txt]"]
end

subgraph group_other["Other exercises"]
  node_p3misc["Praveen script<br/>[praveen.py]"]
  node_ran["Ran script<br/>[ran.py]"]
  node_html["HTML file<br/>[first.html]"]
  node_live["Text file<br/>[live.txt]"]
end

node_user(("User"))

node_user -->|"enters details"| node_p1a
node_p1a -->|"prints summary"| node_user
node_user -->|"enters birth year"| node_p1b
node_p1b -->|"prints age"| node_user
node_user -->|"enters length"| node_p2a
node_p2a -->|"prints sequence"| node_user
node_user -->|"enters values"| node_p2b
node_p2b -->|"prints coefficient"| node_user
node_user -->|"enters numbers"| node_p3
node_p3 -->|"prints statistics"| node_user
node_user -->|"enters digits"| node_p4
node_p4 -->|"prints frequencies"| node_user
node_user -->|"enters matrices"| node_p7
node_p7 -->|"prints operations"| node_user
node_user -->|"enters operands"| node_p8
node_p8 -->|"prints result"| node_user
node_user -->|"enters complex values"| node_p9
node_p9 -->|"prints sum"| node_user
node_collaz -->|"prints sequence"| node_user
node_user -->|"selects file"| node_p5
node_p5 -->|"prints word counts"| node_user
node_p6 -->|"reads words"| node_newtxt
node_p6 -->|"prints sorted words"| node_user

click node_p1a "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p1a.py"
click node_p1b "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p1b.py"
click node_calendar "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/calender.py"
click node_p2a "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p2a.py"
click node_p2b "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p2b.py"
click node_p3 "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p3.py"
click node_p4 "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p4.py"
click node_p7 "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p7.py"
click node_p8 "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p8.py"
click node_p9 "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p9.py"
click node_collaz "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/collaz.py"
click node_p5 "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p5.py"
click node_p6 "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p6.py"
click node_newtxt "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/new.txt"
click node_p3misc "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/praveen.py"
click node_ran "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/ran.py"
click node_html "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/first.html"
click node_live "https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/live.txt"

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_p1a,node_p1b,node_calendar,node_user toneBlue
class node_p2a,node_p2b,node_p3,node_p4,node_p7,node_p8,node_p9,node_collaz toneAmber
class node_p5,node_p6,node_newtxt toneMint
class node_p3misc,node_ran,node_html,node_live toneRose
```

## Components

### Basic exercises

- [Student marks](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p1a.py): `p1a.py`
- [Age check](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p1b.py): `p1b.py`
- [Calendar script](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/calender.py): `calender.py`

### Math exercises

- [Fibonacci sequence](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p2a.py): `p2a.py`
- [Binomial coefficient](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p2b.py): `p2b.py`
- [Statistics](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p3.py): `p3.py`
- [Digit frequency](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p4.py): `p4.py`
- [Matrix operations](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p7.py): `p7.py`
- [Division check](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p8.py): `p8.py`
- [Complex addition](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p9.py): `p9.py`
- [Collatz sequence](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/collaz.py): `collaz.py`

### Text exercises

- [Word frequency](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p5.py): `p5.py`
- [Sort file words](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/p6.py): `p6.py`
- [Input text file](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/new.txt): `new.txt`

### Other exercises

- [Praveen script](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/praveen.py): `praveen.py`
- [Ran script](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/ran.py): `ran.py`
- [HTML file](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/first.html): `first.html`
- [Text file](https://github.com/2025cspradeepkumarrae-la/repo1/blob/main/live.txt): `live.txt`

### Other components

- **User**

## Connections

- User → Student marks: enters details (evidence: `p1a.py`)
- Student marks → User: prints summary (evidence: `p1a.py`)
- User → Age check: enters birth year (evidence: `p1b.py`)
- Age check → User: prints age (evidence: `p1b.py`)
- User → Fibonacci sequence: enters length (evidence: `p2a.py`)
- Fibonacci sequence → User: prints sequence (evidence: `p2a.py`)
- User → Binomial coefficient: enters values (evidence: `p2b.py`)
- Binomial coefficient → User: prints coefficient (evidence: `p2b.py`)
- User → Statistics: enters numbers (evidence: `p3.py`)
- Statistics → User: prints statistics (evidence: `p3.py`)
- User → Digit frequency: enters digits (evidence: `p4.py`)
- Digit frequency → User: prints frequencies (evidence: `p4.py`)
- User → Matrix operations: enters matrices (evidence: `p7.py`)
- Matrix operations → User: prints operations (evidence: `p7.py`)
- User → Division check: enters operands (evidence: `p8.py`)
- Division check → User: prints result (evidence: `p8.py`)
- User → Complex addition: enters complex values (evidence: `p9.py`)
- Complex addition → User: prints sum (evidence: `p9.py`)
- Collatz sequence → User: prints sequence (evidence: `collaz.py`)
- User → Word frequency: selects file (evidence: `p5.py`)
- Word frequency → User: prints word counts (evidence: `p5.py`)
- Sort file words → Input text file: reads words (evidence: `p6.py`)
- Sort file words → User: prints sorted words (evidence: `p6.py`)
