✦ VidyaVerseOpen interactive version

← Python Lab Practical Record

Index

Python Lab Practical Record · Python programming laboratory

Read with diagrams, search and self-test

Exp. No.Name of the ExperimentDateSignature
1AFind the maximum of three forces (decision making)
1BConvert Fahrenheit to Centigrade
1CGenerate the multiplication table of 5 (control loop)
1DEfficiency of a simple machine
2AAccept two numbers and perform arithmetic operations
2BCalculate age after 5 years
2CFind the area of a rectangle
2DOutput speed and torque of a gear system
3ADetermine whether a number is even or odd
3BMultiplication table using a for loop
3CFactorial of a number using a while loop
3DCheck whether a number is positive, negative or zero
4AFunction to calculate the area of a circle
4BGCD of two numbers using a function
4CLambda function for squaring a number
4DUsing the math module for trigonometric calculations
5AList of student names – adding, removing and sorting
5BConvert a list of temperatures from Celsius to Fahrenheit
5CDictionary for storing a student record
5DTuples to store and display coordinates in a 2D plane
6AWrite random numbers to a file and read them back
6BHandle division by zero using try–except
6CRead data from a CSV file and count the rows
7AClass to represent a car
7BMethod overriding
7CBank account class – deposit, withdraw and balance enquiry
8AControlling a DC motor using the L298N motor driver with Raspberry Pi
8BSimple automated systems – fan and water pump controllers
9ASample average and range, X-bar and R charts
10AMean, variance and standard deviation
10BX-bar and R control charts from sample data