Professional Documents
Culture Documents
Program Code:
a = int(input("Value of a is :"))
b = int(input("Value of b is :"))
sum = a+b
sub = a-b
mul = a*b
div = a/b
Program Code:
marks = (a+b+c+d+e)
avg = (marks/5)
perc = (marks/500)*100
Output:
Aim of the practical:
Write a program to enter length in centimeter and convert it into meter and kilometer, and also convert the same
into Equivalents
Program Code:
a = int(input("Enter the length : "))
Output: