Computer Science
Practical File
Name – Aaryan Saini
Grade - 12th Non-Medical
Submitted to - Arpita Srivastava
Index
1. Write a program to create a
function to find the factorial of any
number.
2. Write a program to print the odd
number between the specified
range using a function.
3. Write a program to handle different
types of exceptions that occur
during dividing a number.
4. Program to read and display file
content line by line with each word
separated by “#”.
5. Write a program to create a list of
numbers, find the count of even
numbers from the list.
6. Program to create CSV file and
store empno, name and salary of
an employee and search for any
empno to display the employee’s
name and if not found, display the
appropriate message.
7. Program to implement Stack
operation to add and delete
elements from the stack in Python.
1) Write a program to create a function to find the factorial of any number.
Input-
Output-
2) Write a program to print the odd number between the specified range
using a function.
Input-
Output-
3) Write a program to handle different types of exceptions that occur
during dividing a number.
Input-
Output-
4) Program to read and display file content line by line with
each word separated by “#”.
Input-
Output-
5) Write a program to create a list of numbers, find the count of even
numbers from the list.
Input-
Output-
6) Program to create CSV file and store empno, name and salary of an
employee and search for any empno to display the employee’s name and if
not found, display the appropriate message.
Input-
Output-
7) Program to implement Stack operation to add and delete elements from
the stack in Python using List.
Input-
Output-