Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
func mast
print("meri marzi jo bhi likhu") print("functions ke saath khelenge") opr=int(input("konsi opr perform karna chahoge\n 1.add 2.sub 3.mul\n")) a=int(input("enter 1st no\n")) b=int(input ("enter 2nd no\n")) def add(a,b): return a+b def sub(a,b): return a-b def mul(a,b): return a*b if opr==1: for i in range(10): print(add(a,b)) elif opr==2: for i in range(10): print(sub(a,b)) elif opr==3: for i in range(10): print(mul(a,b)) else: print("incorrect data")
run
|
edit
|
history
|
help
0
inerse_matrix_gauss_jordan
gj3
linked_lists_2+decisions
Calculate Volume of Sphere
Hello World Test
MBTI test ITA
3-6.격자판 최대합
BubbleSort
камень ножницы бумага
String Toggling