Lab 1

Description: Lab report 1. contains exercise 2 and 3

Code:

print (1)
x = 5
print (x + 1)

Screenshot

lab 1 ex 2

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

lab 1 ex 3

 

Leave a Reply

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