# deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse architecture

> Architecture diagram of the GitHub repository deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-08). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse
- Repository: https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse

## Overview

This repository is a small set of standalone Python course exercises, not a shared application. The user-to-result workflow is direct: each script may read input or use example values, perform one language or arithmetic operation, and print a result. Major documented-by-files topics span arithmetic, operators and conversions, then conditional decisions. Scripts do not import or orchestrate one another. The graph groups related exercises; source excerpts show their individual input/calculation/output behavior, while unsampled scripts are represented by their exact paths and topic implied by their filenames.

Main entry points: [`Unit-1_Task-6_Simple_Interest.py`](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-6_Simple_Interest.py) (Interest calculations), [`Unit-1_Task-7_Compound_Interest.py`](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-7_Compound_Interest.py) (Compound interest), [`Unit-1_Task-13_Membership_Operators.py`](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-13_Membership_Operators.py) (Membership operators), [`Unit-2A_Task-1_Valid_Triangle_Angles.py`](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-2A_Task-1_Valid_Triangle_Angles.py) (Triangle validation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_basics["Arithmetic exercises"]
  node_basic_tasks["Basic calculations"]
  node_geometry["Geometry calculations"]
  node_temperature["Temperature conversion"]
  node_swap["Number swapping"]
  node_interest["Interest calculations"]
  node_compound_interest["Compound interest"]
  node_natural_sum["Natural-number sum"]
end

subgraph group_operators["Operator exercises"]
  node_arithmetic["Arithmetic operators"]
  node_relational["Relational operators"]
  node_logical["Logical operators"]
  node_identity["Identity operators"]
  node_membership["Membership operators"]
  node_precedence["Precedence examples"]
  node_conversion["Type conversion"]
end

subgraph group_decisions["Conditional exercises"]
  node_triangle["Triangle validation"]
  node_voting["Voting eligibility"]
  node_sign["Number sign check"]
  node_grade["Student grading"]
  node_largest["Largest of three"]
  node_smallest["Smallest of three"]
  node_leap["Leap-year check"]
end

node_learner(("Learner"))

node_learner -->|"enters values"| node_interest
node_interest -->|"prints result"| node_learner
node_learner -->|"enters values"| node_compound_interest
node_compound_interest -->|"prints result"| node_learner
node_learner -->|"enters angles"| node_triangle
node_triangle -->|"prints validity"| node_learner
node_learner -->|"enters numbers"| node_largest
node_largest -->|"prints maximum"| node_learner
node_learner -->|"enters numbers"| node_smallest
node_smallest -->|"prints minimum"| node_learner
node_learner -->|"enters year"| node_leap
node_leap -->|"prints decision"| node_learner
node_learner -->|"enters items"| node_membership
node_membership -->|"prints availability"| node_learner

click node_basic_tasks "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-1_Sum_of_Two_Numbers.py"
click node_geometry "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-3_Rectangle_Area_Perimeter.py"
click node_temperature "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-4_Celsius_to_Fahrenheit.py"
click node_swap "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-5_Swap_Two_Numbers.py"
click node_interest "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-6_Simple_Interest.py"
click node_compound_interest "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-7_Compound_Interest.py"
click node_natural_sum "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-8_Sum_of_N_Natural_Numbers.py"
click node_arithmetic "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-9_Arithmetic_Operators.py"
click node_relational "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-10_Relational_Operators.py"
click node_logical "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-11_Logical_Operators.py"
click node_identity "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-12_Identity_Operators.py"
click node_membership "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-13_Membership_Operators.py"
click node_precedence "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-14_Operator_Precedence_Associativity.py"
click node_conversion "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-15_Type_Conversion.py"
click node_triangle "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-2A_Task-1_Valid_Triangle_Angles.py"
click node_voting "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-2A_Task-2_Voting_Eligibility.py"
click node_sign "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-2A_Task-3_Positive_Negative_Zero.py"
click node_grade "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-2A_Task-4_Student_Grade_Elif_Ladder.py"
click node_largest "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-2A_Task-5_Largest_of_Three_Nested_If.py.py"
click node_smallest "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-2A_Task-6_Smallest_of_Three_Nested_If.py"
click node_leap "https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-2A_Task-7_Leap_Year.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_basic_tasks,node_geometry,node_temperature,node_swap,node_interest,node_compound_interest,node_natural_sum toneBlue
class node_arithmetic,node_relational,node_logical,node_identity,node_membership,node_precedence,node_conversion toneAmber
class node_triangle,node_voting,node_sign,node_grade,node_largest,node_smallest,node_leap toneMint
class node_learner toneIndigo
```

## Components

### Arithmetic exercises

- [Basic calculations](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-1_Sum_of_Two_Numbers.py): `Unit-1_Task-1_Sum_of_Two_Numbers.py`
- [Geometry calculations](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-3_Rectangle_Area_Perimeter.py): `Unit-1_Task-3_Rectangle_Area_Perimeter.py`
- [Temperature conversion](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-4_Celsius_to_Fahrenheit.py): `Unit-1_Task-4_Celsius_to_Fahrenheit.py`
- [Number swapping](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-5_Swap_Two_Numbers.py): `Unit-1_Task-5_Swap_Two_Numbers.py`
- [Interest calculations](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-6_Simple_Interest.py): `Unit-1_Task-6_Simple_Interest.py`
- [Compound interest](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-7_Compound_Interest.py): `Unit-1_Task-7_Compound_Interest.py`
- [Natural-number sum](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-8_Sum_of_N_Natural_Numbers.py): `Unit-1_Task-8_Sum_of_N_Natural_Numbers.py`

### Operator exercises

- [Arithmetic operators](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-9_Arithmetic_Operators.py): `Unit-1_Task-9_Arithmetic_Operators.py`
- [Relational operators](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-10_Relational_Operators.py): `Unit-1_Task-10_Relational_Operators.py`
- [Logical operators](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-11_Logical_Operators.py): `Unit-1_Task-11_Logical_Operators.py`
- [Identity operators](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-12_Identity_Operators.py): `Unit-1_Task-12_Identity_Operators.py`
- [Membership operators](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-13_Membership_Operators.py): `Unit-1_Task-13_Membership_Operators.py`
- [Precedence examples](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-14_Operator_Precedence_Associativity.py): `Unit-1_Task-14_Operator_Precedence_Associativity.py`
- [Type conversion](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-1_Task-15_Type_Conversion.py): `Unit-1_Task-15_Type_Conversion.py`

### Conditional exercises

- [Triangle validation](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-2A_Task-1_Valid_Triangle_Angles.py): `Unit-2A_Task-1_Valid_Triangle_Angles.py`
- [Voting eligibility](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-2A_Task-2_Voting_Eligibility.py): `Unit-2A_Task-2_Voting_Eligibility.py`
- [Number sign check](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-2A_Task-3_Positive_Negative_Zero.py): `Unit-2A_Task-3_Positive_Negative_Zero.py`
- [Student grading](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-2A_Task-4_Student_Grade_Elif_Ladder.py): `Unit-2A_Task-4_Student_Grade_Elif_Ladder.py`
- [Largest of three](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-2A_Task-5_Largest_of_Three_Nested_If.py.py): `Unit-2A_Task-5_Largest_of_Three_Nested_If.py.py`
- [Smallest of three](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-2A_Task-6_Smallest_of_Three_Nested_If.py): `Unit-2A_Task-6_Smallest_of_Three_Nested_If.py`
- [Leap-year check](https://github.com/deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse/blob/main/Unit-2A_Task-7_Leap_Year.py): `Unit-2A_Task-7_Leap_Year.py`

### Other components

- **Learner**

## Connections

- Learner → Interest calculations: enters values (evidence: `Unit-1_Task-6_Simple_Interest.py`)
- Interest calculations → Learner: prints result (evidence: `Unit-1_Task-6_Simple_Interest.py`)
- Learner → Compound interest: enters values (evidence: `Unit-1_Task-7_Compound_Interest.py`)
- Compound interest → Learner: prints result (evidence: `Unit-1_Task-7_Compound_Interest.py`)
- Learner → Triangle validation: enters angles (evidence: `Unit-2A_Task-1_Valid_Triangle_Angles.py`)
- Triangle validation → Learner: prints validity (evidence: `Unit-2A_Task-1_Valid_Triangle_Angles.py`)
- Learner → Largest of three: enters numbers (evidence: `Unit-2A_Task-5_Largest_of_Three_Nested_If.py.py`)
- Largest of three → Learner: prints maximum (evidence: `Unit-2A_Task-5_Largest_of_Three_Nested_If.py.py`)
- Learner → Smallest of three: enters numbers (evidence: `Unit-2A_Task-6_Smallest_of_Three_Nested_If.py`)
- Smallest of three → Learner: prints minimum (evidence: `Unit-2A_Task-6_Smallest_of_Three_Nested_If.py`)
- Learner → Leap-year check: enters year (evidence: `Unit-2A_Task-7_Leap_Year.py`)
- Leap-year check → Learner: prints decision (evidence: `Unit-2A_Task-7_Leap_Year.py`)
- Learner → Membership operators: enters items (evidence: `Unit-1_Task-13_Membership_Operators.py`)
- Membership operators → Learner: prints availability (evidence: `Unit-1_Task-13_Membership_Operators.py`)
