lab 3

Lab Description: Lab #3 is similar to previous lab, the difference is that in this lab we will be using the x and y variables in functions.Using python as a scientific calculator.

Source Code: 

>>>x=4
>>>y=6
>>> x+3
7
>>>y+3
9
>>>x-4
0
>>>y-4
2
>>>x*9
36
>>>y*9
54
>>>x/5
0.8
>>>y/5
1.2
>>>x%6
4
>>>y%6
0
>>>x>9
False
>>>y>9
False
>>>x<10
True
>>>y<10
True

 

la foto (4)

Leave a Reply

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