lab 1

Lab Description: I believe this lab is about variables in interactive mode and script mode. In Exercise 3, it is about interactive mode in which the first line assigns a value in width and height. We express these variables in python, using it as a calculator

Source Code: 

>>> width = 17
>>> height = 12.0
>>> delimeter = ‘.’
>>> width/2
8.5
>>> width/2.0
8.5
>>> height/3
4.0
>>> 1 + 2 * 5
11
>>> delimeter * 5
‘…..’

 

IMG_2696[1]

Leave a Reply

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