Practical File Questions (1)
Practical File Questions (1)
Q2. Write a program to perform read and write operation with .csv file.
Q5. Write a program to count the number of vowels present in a text file.
Q7. Write a program to generate random numbers between 1 to 6 and print them.
Q8. Write a menu based program to perform all the operations on stack in python.
Q9. Write a function SwapNumbers( ) to swap two numbers and display the numbers before
swapping and after swapping.
Q10. Write a python program to read student data from a binary file.
Q11. Write a program to write those lines which have the character 'p' from one text file to
another text file.
Q13. Write a program to compute GCD and LCM of two numbers using functions.
Q14. Write a program to pass an integer list as stack to a function and push only those elements
in the stack which are divisible by 7.