Practical File All Programs
Practical File All Programs
1. Write a program in Python to enter 2 numbers and print all the arithmetic
operations.
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.
8. Write a program in Python to read text file and display the number of vowels,
consonants, uppercase, lowercase letters.
10. Write a menu driven program to find the factorial and sum of list of
numbers using function.
11. Write a Python program to search for the position of string in a given
group of strings.
12. Write a Python program to create a new object inside a function does
not modify outside object.
14. Write a Program in Python to copy an image file into another file.
15. Write a Program to increase the Salary by Rs. 2000 of the employee no
#1251 in the file employee.dat
19. Write a Python Program to implement a Stack for the Employee details.
a. Add Employee
b. Delete Employee
c. Traverse Employees