Description:
We used Python shell to calculate the dimensions of the object and find the value of the expression. This exercise makes us familiar with the Python program.
Code:
>>> width = 17
>>> height = 12.0
>>> delimiter = ‘.’
>>> width/2
8.5
>>> width/2.0
8.5
>>> height/3
4.0
>>> 1 + 2 * 5
11
>>> delimiter * 5
‘…..’
>>>
Screenshot: