Computer Science Project File
Computer Science Project File
practical File
Output:
2.write a python program to print Fibonacci series
up to a certain limit.
Input:
Output:
3.Write a python program to accept a number,
find out and display whether it is an Armstrong
number or not.
Input:
Output:
4.Write a python program to input ‘n’ name and
phone number to store it in a dictionary and print
the phone number of a particular name.
Input:
Output:
5.Write a python program to replace word ”Birds”
by another word ”Whales” in a file “POEM.txt”.
Input:
Output:
6.Write a program using dictionary and Text file to
store roman numbers and find their equivalents.
Input:
Output:
7.write a python program to take input for a
number and print its factorial using recursion
Input:
Output:
8.Write a python program to take input for 2
numbers and an operator (+, -, *, /). Based on the
operator calculate and print the result?
Input:
Output:
9.write a python program to display Fibonacci
sequence using Recursion?
Input:
Output:
10.Write a program in python to replace a
character by another character In a file
“POEM.txt”.
Input:
Output:
11.Python program to take input of a number
and print it's factorial using recursion
Input:
Output:
12.Write a python program to take input for
two numbers and a mathematical operator.
Based on the operator calculate and print
result.
Input:
Output:
13. Write a python code to linear search an
element in a array.
Input:
Output:
14. Write a program to demonstrate a simple
queue implementation with enqueue and
dequeue operations.
Input:
Output:
15. Write a python program on stack
implementation with Push, Pop and Display
operation
Input:
Output:
16.Write a python program to check whether the
entered word or string is palindrome or not
Input:
Output:
17.Write a python program for a simple calculator.
Input:
Output:
18. Write a python a program to check whether a
number is prime or not.
Input:
Output:
19.Write a function list change (arr) in python,
which accept a list of number and replace each
even number with 10 and multiply odd number
with 5.
Input:
Output:
Input:
Output: