Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
9th jan quiz2
print("sai quiz") ch=input("add,sub,mul") x=int(input("enter 1st no")) y=int(input("enter 2nd no")) def add(): if ch=="add": return x+y def sub(): if ch=="sub": return x-y def mul(): if ch=="mul": return x*y print(add()) print(sub()) print(mul())
run
|
edit
|
history
|
help
0
Sum
ElaineBrown** rextester.com
Yyy
gj
PyNewInit
Insertion sort
Skillenza Common subjects
handwash
S
Iterator-1