Practical File Programs
1. Write a program in Python to enter 2 numbers and print all the
arithmetic operations.
2. Write a program in Python to find the factorial of the entered number.
3. Write a program using function to check whether a number is perfect,
even or odd.
4. Write a program using function to generate values from 1 to 10, and
then remove all those numbers which are odd in the list.
5. Write a program in Python to read a text file line by line, and display
each word separated by @.
6. Write a program in Python to write the content of a text file to another
text file.
7. Write a program in Python to find and replace a word in text file.
8. Write a program in Python to read text file and display the number of
vowels, consonants, uppercase, lowercase letters.
Other Programs
1. Write a program in Python to find the Compound Interest and Simple
Interest (via Menu).
2. Write a program in Python to create a mirror using string.
3. Write a program in Python to append a data in text file.