Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
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
Please
log in
to post a comment.
Roman numrals
Python regex to find repetitive word count
project euler 16
trial
Run
NormalizedTags
my first code
1.problem_name_1
tennis
how far light travels in centimeters in one nanosecond
stackse - search stackoverflow differently
Please log in to post a comment.