0% found this document useful (0 votes)
25 views6 pages

Python Programs-Part1

Ryyv

Uploaded by

patilanjali526
Copyright
© © All Rights Reserved
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% found this document useful (0 votes)
25 views6 pages

Python Programs-Part1

Ryyv

Uploaded by

patilanjali526
Copyright
© © All Rights Reserved
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/ 6

PYTHON PROGRAMMING EXERCISE

Programming Exercises:
1a. Develop a program to read the student details like Name, USN, and Marks
in three subjects. Display the student details, total marks and percentage with
suitable messages.

OUTPUT:
1b. Develop a program to read the name and year of birth of a person. Display
whether the person is a senior citizen or not.

OUTPUT:
2. a. Develop a program to generate Fibonacci sequence of length (N). Read N
from the console.

2 b. Write a function to calculate factorial of a number. Develop a program to


compute binomial
coefficient (Given N and R).
Simple program for finding factorial of a number

OUTPUT:
OUTPUT:

3. Read N numbers from the console and create a list. Develop a program to
print mean, variance and standard deviation with suitable messages.
OUTPUT:

You might also like