Lab 1

Description:
This lab required us to divide the given width by 2 and 2.0, height by 3, to add 1 to the product of 2 and 5, and to multiply the delimiter(.) by 5.

Code:

width = 17
height = 12.0
delimiter = '.'
print width / 2
print width / 2.0
print height / 3 
print 1 + 2 * 5
print delimiter * 5

Screenshot:
lab1ss

Leave a Reply

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