Python WS 1.2
Python WS 1.2
Engineering
LAB FILE
Experiment – 1.2
Aim: Writing python programs in various modes and printing and assigning values
assigned to the variables.
Program 1.2.1:
Program Code:
Program 1.2.2:
Program Code:
Program 1.2.3:
Python program to take three numbers from the user and print the greatest number.
Program Code:
UNIT-I
II. Program to demonstrate the use of if, if-else, while, for, break and continue.
IV. Program to demonstrate the various kind of operations that can be applied
to the string.
X Program to demonstrate read and write data to the file in various modes.
INDEX