- Takes an integer input from the user.
- Checks if the number is even or odd using if-else.
- Displays the result.
- Uses a for loop to iterate from 1 to 50.
- Calculates the sum of all integers.
- Displays the final sum.
task1.py
→ Program to check even/odd number.task2.py
→ Program to calculate sum of numbers from 1 to 50.
- Clone the repository or download the files.
- Run the scripts using:
python task1.py python task2.py