Python Programs Lab-1

Post date: Jan 2, 2018 5:29:42 PM

Q1. Write a python program to accept 2 integer , 2 float numbers from the user and perform

The following:-

1. Find the sum of 2 integer number.

2. Find the difference between the Float numbers. Print the same

Q.2 . Write a Python program to accept the length and width of rectangle and find area & perimeter

Q.3. Write a Python program to accept side of cube and find out the volume

Q.4 Write a python program to accept two numbers and swap the value of variable

Q.5 Write a python program to accept two numbers and swap the value of variable without using third variable