0% found this document useful (0 votes)
19 views

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)
19 views

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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy