Lab Description:
In this lab we were trying to do exercises number 3 from chapter 2. For this exercise we were using python shell where you don`t have to write script, this is used almost like calculator. Where you give python values and its calculating it for you. It will be posted as a code and screenshot.
Code:
>>> width = 17
>>> height = 12.0
>>> delimiter = ‘.’
>>> width/2
8
>>> width/2.0
8.5
>>> height/3
4.0
>>> 1+2*5
11
>>> delimiter * 5
‘…..’
>>>
Screenshot: