Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
single_digit
#python 2.7.12 def recursion(numb): if numb < 10: return else: j = str(numb) b = '' k = 0 for n in range(len(j)): b = j[n] k = k + int(b) print k recursion(k) n = raw_input("Enter any number: ") print("\n") recursion(n)
run
|
edit
|
history
|
help
0
Aufgabe 15
PyClaMInher
binary
PyDeco
daily score
Cofe
single digit
my shopping list at supermarket
Gani
0dd08b977895229d09b4848e467a4e10162ed345de0b245922b3505909d33ead