Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
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
Please
log in
to post a comment.
abc1
last 2 digit add
Partition To 2 Equal Sum Subsets From An Array of Integers
linked_lists
normal,*args,**kwargs
H.W5
linearSearch.py
8
Урок 4 задача 4: решить в целых числах уравнение ax=b (python)
If else if in 2 ways
Please log in to post a comment.