lab 2

Description:

The purpose of this to create a code that added, subtracted, divided, multiplied, and etc.  the values of x and y.

Code:

x = 20.0

y= 200.0

x + y

x – y

x * y

x / y

x % y

x < y

x > y

x = y

Screen Shot:

Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (Intel)] on win32
Type “copyright”, “credits” or “license()” for more information.
>>> x = 20.0
>>> y = 200.0
>>> x + y
220.0
>>> x – y
-180.0
>>> x * y
4000.0
>>> x / y
0.1
>>> x % y
20.0
>>> x < y
True
>>> x > y
False
>>> x = y
>>>