How deepakcsecybersecurity-a11y/2026-27_sec-21-53_pythonprogramingcourse works
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 Interest calculations · Unit-1_Task-7_Compound_Interest.py Compound interest · Unit-1_Task-13_Membership_Operators.py Membership operators · Unit-2A_Task-1_Valid_Triangle_Angles.py Triangle validation
Components 22
Arithmetic exercises
- Basic calculations
Unit-1_Task-1_Sum_of_Two_Numbers.py - Geometry calculations
Unit-1_Task-3_Rectangle_Area_Perimeter.py - Temperature conversion
Unit-1_Task-4_Celsius_to_Fahrenheit.py - Number swapping
Unit-1_Task-5_Swap_Two_Numbers.py - Interest calculations
Unit-1_Task-6_Simple_Interest.py - Compound interest
Unit-1_Task-7_Compound_Interest.py - Natural-number sum
Unit-1_Task-8_Sum_of_N_Natural_Numbers.py
Operator exercises
- Arithmetic operators
Unit-1_Task-9_Arithmetic_Operators.py - Relational operators
Unit-1_Task-10_Relational_Operators.py - Logical operators
Unit-1_Task-11_Logical_Operators.py - Identity operators
Unit-1_Task-12_Identity_Operators.py - Membership operators
Unit-1_Task-13_Membership_Operators.py - Precedence examples
Unit-1_Task-14_Operator_Precedence_Associativity.py - Type conversion
Unit-1_Task-15_Type_Conversion.py
Conditional exercises
- Triangle validation
Unit-2A_Task-1_Valid_Triangle_Angles.py - Voting eligibility
Unit-2A_Task-2_Voting_Eligibility.py - Number sign check
Unit-2A_Task-3_Positive_Negative_Zero.py - Student grading
Unit-2A_Task-4_Student_Grade_Elif_Ladder.py - Largest of three
Unit-2A_Task-5_Largest_of_Three_Nested_If.py.py - Smallest of three
Unit-2A_Task-6_Smallest_of_Three_Nested_If.py - Leap-year check
Unit-2A_Task-7_Leap_Year.py
Other components
- Learner
Connections 14
- Learner → Interest calculations: enters values
Unit-1_Task-6_Simple_Interest.py - Interest calculations → Learner: prints result
Unit-1_Task-6_Simple_Interest.py - Learner → Compound interest: enters values
Unit-1_Task-7_Compound_Interest.py - Compound interest → Learner: prints result
Unit-1_Task-7_Compound_Interest.py - Learner → Triangle validation: enters angles
Unit-2A_Task-1_Valid_Triangle_Angles.py - Triangle validation → Learner: prints validity
Unit-2A_Task-1_Valid_Triangle_Angles.py - Learner → Largest of three: enters numbers
Unit-2A_Task-5_Largest_of_Three_Nested_If.py.py - Largest of three → Learner: prints maximum
Unit-2A_Task-5_Largest_of_Three_Nested_If.py.py - Learner → Smallest of three: enters numbers
Unit-2A_Task-6_Smallest_of_Three_Nested_If.py - Smallest of three → Learner: prints minimum
Unit-2A_Task-6_Smallest_of_Three_Nested_If.py - Learner → Leap-year check: enters year
Unit-2A_Task-7_Leap_Year.py - Leap-year check → Learner: prints decision
Unit-2A_Task-7_Leap_Year.py - Learner → Membership operators: enters items
Unit-1_Task-13_Membership_Operators.py - Membership operators → Learner: prints availability
Unit-1_Task-13_Membership_Operators.py