This project contains simple Python programs created to perform basic tasks using conditional statements and user input.
- Takes a number as input
- Checks whether the number is even or odd
- Displays the result
Example: Input: 15 Output: 15 is an Odd Number
- Accepts three numbers from the user
- Finds the largest number
- Displays the largest value
Example: Input: 10, 25, 18 Output: Largest Number = 25
- Accepts marks from the user
- Assigns grade based on marks
Grade Criteria:
- 90–100 → A
- 80–89 → B
- 70–79 → C
- 60–69 → D
- Below 60 → F
Example: Input: 85 Output: Grade: B
- Stores predefined username and password
- Validates user credentials
Default Credentials:
- Username: admin
- Password: password123
Example Output: Login Successful
- Checks password length (minimum 8 characters)
- Checks for at least one number
- Checks for at least one uppercase letter
- Displays password strength
Output Levels:
- Weak Password
- Moderate Password
- Strong Password
Example: Input: Cyber123 Output: Strong Password
- Python 3
- Conditional Statements
- User Input Handling
- Open terminal or command prompt
- Navigate to project folder
- Run: python filename.py
Programming_task_02_Anusha/
│
├── Screenshots/
│ ├── even_odd.png
│ ├── grade_calculator.png
│ ├── largest_number.png
│ ├── login_validation.png
│ └── password_checker.png
│
├── even_odd.py
├── grade_calculator.py
├── largest_number.py
├── login_validation.py
├── password_checker.py
└── README.md
This project helped in understanding the basics of Python programming through simple practical programs. It provided hands-on experience with user input handling, conditional statements, decision-making, and implementing basic logic using Python.
Anusha