LAB 1

Lab1

 

Lab Description:

The purpose of the script was to write the value of given expression ant the type of the value of the expression.First  I input the given statements and the given expressions.Secondly, I print the expression, then the value of the expression then printed the  type of value.

CODE:

 width = 17
height = 12.0
delimiter = '.'
print ("width /2")
print  width /2
print type (width /2)
print ("width/2.0")
print width/2.0
print type (width/2.0)
print ("height/3")
print height/3
print type (height/3)
print ("1 + 2 * 5")
print 1 + 2 * 5
print type (1 + 2 * 5)
print ("delimiter * 5")
print delimiter * 5
print type (delimiter * 5)

Screenshot :

LAB 1Screnshot


Leave a Reply

Your email address will not be published. Required fields are marked *