Lab 2 EMT 1111
- OpenOpen
This lab is confusing, I tried my best to do it. for lab 3 I’ll do better, but here is what I have hope you like it.
option = 1
while option == 1:
option = input(“Menu:(1)Enter Number (2)Exit”)
#print option
if option == 1:
x = input(“Enter 2”)
y = input(“Enter 3”)
v = x+y
w = x-y
x = x*y
y = x/y
z = x%y
print v
print w
print x
print y
print z
if x y:
print(“x is greater than y”)
else:
print(“x is equal to y”)
Recent Discussions
Sorry, there were no discussion topics found.
Recent Docs
No Recent Docs