I had trouble with this lab because theΒ difference won’t show only the sum was ffunctionable maybe because I’m using Pyrthon 3.3
print (β Operation 1: The sum of x + yβ )
print (β y will is equal to 5β² )
y = 5
x = input(β Input the value for x:β)
sum = x + y
print (β The sum of β,x,β and β,y,β is β,sum,)
print (βββββ-β)
print (βOperation 2: The difference of x β yβ)
print (βThis time you will be inputing the values for x and yβ)
x = input(β Input the value for x:β)
y = input(β Input the value for y:β)
difference= y β x
print(β The difference of β,x,β and β,y,β is β,difference)
print(βββββββ)
print(βOperation 3: The product of x and yβ)
x = input(βinput the value for x:β)
y = input(βinput the value for y:β)
product=Β x * y
print(β the product of β ,x, β and β ,y, β is β ,product)
print(βββββββ)
print(βOperation 4: The quotient of x/yβ)
x = input(β input the value for x:β)
y = input(β input the value for y:β)
quot = x / y
print(β the quotient of β,x,β divided by β,y,β is β,quot)
print(ββββββ-β)
print(βOperation 5: The remainder of x % yβ)
x = input(β input the value for x:β)
y = input(β input the value for y:β)
rem = x % y
print(β the remainder of β,x,β and β,y,β is equal to β,rem)
print(ββββββ-β)
print(β Greater than or less thanβ)
input(β input the value for x:β)
input(β input the value for y:β)
ifΒ x >= y:
print(β x β,x,β is greater than or less than β,y)