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)