Lab 1

Lab Description:

This lab we tryout exercise 3 of chapter 2 and post it. Using python GUI and certain codes for it we can see that it has a calculator of sorts  already integrated  in it. So I had to download python since I never had it, and then you give the variables meaning, by having them equal to something. Afterwards using the variables I did some basic math using them instead of what they actually equal to and python solved it. So this was a mini like test run on python.

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
'.....'

Screenshots:

Untitled

Leave a Reply

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