Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
recursion for adding 2 numbers
#python 3.5.2 def add(a,b): ans = 0 if a == 0: if b == 0: return ans else: ans = 0 b = b - 1 ans = 1 + add(a, b) return ans else: ans = 0 a = a - 1 ans = 1 + add(a, b) return ans
run
|
edit
|
history
|
help
0
Calculate Volume of Sphere
intresting pattern
Student
Ej2_python_204676887
PyRegChars
Removing punctuation from strings
7 Segment Display
solving a linear system of equations
ip2cidr
Python