LAB–1–Math Operands and Operators in Python
EMT 1111 – Logic and Problem Solving
First python work
This was my first time writing code in python and is very difficult, but at the same time exiting that I am going to learn how to program. I am looking forward to learn more about it.
5
x = 5
print x + 1
width = 17
height = 12.0
delimiter = ‘.’
print width/2
print width/2.0
print height/3
print 1 + 2 * 5
print delimiter * 5
Leave a Reply