Practical Assignment 1
1. Write a PYTHON program that reads two values and calculate addition and
subtraction of those numbers.
2. Write a PYTHON program to find a largest of two numbers.
3. Write a PYTHON program that reads the number and check the no is positive or
negative.
4. Write a PYTHON program to check entered character is vowel or consonant.
5. Write a PYTHON program to evaluate the student performance
If % is >=90 then Excellent performance
If % is >=80 then Very Good performance
If % is >=70 then Good performance
If % is >=60 then average performance
else Poor performance.
6. Write a PYTHON program to find largest and Smallest of three numbers
7. Write a PYTHON program to check a year for leap year.
8. Write a PYTHON program to print the natural numbers up to n
9. Write a PYTHON program to find the sum of digits of given number.
10. Write a PYTHON program to print natural numbers up to n in reverse order