12thpracticals CS
12thpracticals CS
Read a text file line by line and display each word separated by a #.
Output :
welcome#to#python#class#welcome#to#CBSE#class#12#program#1#School#programming
Program 2 :
welcome to
world of
python
Program 4:
Create a binary file with name and roll number. Search for a given roll
number and display the name, if not found display appropriate
message.
Output:
Program 5:
Create a binary file with roll number, name and marks. Input a roll
number and update the marks.
Output :
Program 6:
Write a random number generator that generates random numbers
between 1 and 6 (simulates a dice).
Program 7 :
Write a Python program to implement a stack using list.
8. Create a CSV file by entering user-id and password, read and
search the password for given user-id
Output :
After deleting
b. Write a query to update Marks in maths to 49 for ENR103
After updation: