Professional Documents
Culture Documents
Read a text file and display the number of vowels/consonants/uppercase/lowercase characters in the
file
OUTPUT:
2.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:
3.Create a CSV file by entering user-id and password, read and search the password for given user-id.
Output:
4.Write a Program to find factorial of the entered number.
Output:
Assume we have the following file, located in the same folder as Python:
Output:
6.Create a binary file with name and roll no. Search for a given roll number and display the name, if not
found display appropriate message.
OUTPUT:
7. Write a random number generator that generates random numbers between 1 and 6(simulates a dice)
OUTPUT:
8.Write a python program to take input for 2 numbers, calculate and print their sum, product and
difference?
OUTPUT:
9.Write a python program to take input for a number and print its table?
OUTPUT:
10. create a dictionary containing names of compition winner students as keys and numbers
OUTPUT:
11.program to calculate simple interest using a function interst() that can recive principal amount,time
and rate and return calculated simple interst.
OUTPUT:
OUTPUT:
OUTPUT:
OUTPUT: