The document outlines a series of programming tasks, each requiring the implementation of specific functionalities in Python. These tasks include calculating factorials, generating Fibonacci series, reading from text files, implementing stack operations, and more. Each program has a defined output requirement, focusing on various aspects of programming and file handling.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
4 views30 pages
It Project
The document outlines a series of programming tasks, each requiring the implementation of specific functionalities in Python. These tasks include calculating factorials, generating Fibonacci series, reading from text files, implementing stack operations, and more. Each program has a defined output requirement, focusing on various aspects of programming and file handling.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 30
#Program1
Write a program to find the factorial of the entered number
OUTPUT- #Program2
Write a program to enter the number of terms and to print
the Fibonacci series. OUTPUT- #Program3
Write a method in Python to readlines from a text file and
display those lines which are starting with an alphabet A. OUTPUT- #Program4
Write a method to readlines from a text file and display those
lines, which are bigger than 20 characters. OUTPUT- #Program5
Write a method in Python to count the number of lines from
a text file which are starting with an alphabet T. OUTPUT- #Program6
Write a method in Python to readlines from a text file to find
and display occurrence of word 'The'. OUTPUT- #Program7
Write a Python program to implement basic operations of a
stack, such as adding element(PUSH Operation), removing element (POP Operation) and display the stack elements (Traversal Operation) using Lists. OUTPUT- #Program8
Create a binary file with roll number, name and marks. Input details in file. OUTPUT- #Program9
Write a program to create a dictionary containing names of
competition winner students as keys and number of their wins as values. OUTPUT- #Program10
Write a program that multiples two integer numbers without
using the * operator, using repeated addition. OUTPUT- #Program11
Write a program that reads character from the keyboard one
by one. All lower case characters get inside the file LOWER, all upper case characters get inside the file UPPER and all others get inside the file OTHERS. OUTPUT- #Program12
Write a function that takes the amount in dollars and
converts it to rupees. Create a function in void as well as a non-void form. OUTPUT- #Program13
Write a program to interchange first and last element in a list.
OUTPUT- #Program15
Write a program to Read a text file line by line and display