Python
Python
1. Add record
2. Display records
3. Search record
4. Exit
The structure of file content is: {‘shoe_id’:shoe_id,’name’: name ,’price’: price}
6. Write a program to read the contents of a file text.txt and write the uppercase
and lower case letters in files ‘upper.txt’ and ‘lower.txt’ respectively. The
contents of text.txt are as follows:
7. Write a menu driven program to perform following operations in a stack.
1. Push an element
2. Pop an element
3. Display all elements
4.Exit
8. Write a program to read a file and count the number of uppercase, lowercase,
alphabets and digits in a text file ‘poem.txt’.
POEM.txt
1. Twinkle Twinkle Little Star
2. How I wonder what you are…
3. Up above the WORLD SO HIGH!