0% found this document useful (0 votes)
2 views3 pages

Practical No 3 python

The document outlines practical exercises for writing simple Python programs. It includes tasks such as displaying a name, converting currency, calculating square roots, finding the area of a rectangle, and swapping variable values. Each task is intended to demonstrate the use of different programming concepts and operators in Python.

Uploaded by

jsamiksha051
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)
2 views3 pages

Practical No 3 python

The document outlines practical exercises for writing simple Python programs. It includes tasks such as displaying a name, converting currency, calculating square roots, finding the area of a rectangle, and swapping variable values. Each task is intended to demonstrate the use of different programming concepts and operators in Python.

Uploaded by

jsamiksha051
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/ 3

Practical No.

2: Write Simple Python program to


display message on screen
Q1) write python program to display your name using
interactive mode.

Q2)Write python program to display “MSBTE” using


script mode.

Output:
Practical No. 3: Write simple Python program
using operators: Arithmetic Operators, Logical
Operators, Bitwise Operators
1. Write a program to convert U.S. dollars to Indian rupees.

Output:

3. Write a program to find the square root of a number

Output:

4.Write a program to find the area of Rectangle.

Output:
Q7) Write a program to swap the value of two variables.

Output:

You might also like