Lab 1

Lab Description

first we went to http://python.org, clicked  on the Download tab, and I  select the appropriate version based on your operating system.After downloaded ,and  installed  python on my  computer.I started to play with python and got  familiar with python i also go familiar wit the program  by reading the documentation on the site. Next I entered the inputs which were width, height, and delimiter with the correct numbers after i entered the inputs i entered  print after that i enter the functions and got my results.

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

Leave a Reply

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