Python

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 24

UNIVERSITY INSTITUTE OF ENGINEERING

&TECHNOLOGY, MDU(ROHTAK)

PYTHON PROGRAMMING LAB

LC-CSE-215G

PROGRAM FILE
SEMESTER –
3rd

Submitted to :- Submitted by :-
Dr. Chavvi Rana Rahul Bangwal
2211042
B.Tech. AIML
INDEX
Sr. Program Page Sign
No.

1 Compute the GCD of two 3-4


numbers
Find the square root of a number
2 (Newton‘s method) 4-5

3 Exponentiation (power of a 5
number)

4 Find the maximum of a list of 6-7


numbers

5 Linear search and Binary search 7-11

6 Selection sort, Insertion sort 11-14

7 Merge sort 14-16

8 First n prime numbers 16-18

9 Multiply matrices 18-19


Programs that take command line
10 arguments (word count) 20
Find the most frequent words in a
11 text read from a file 20-21

12 Simulate elliptical orbits in 21-22


Pygame

13 Simulate bouncing ball using 22-24


Pygame

You might also like