Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
sum_of_digits.py
#python 3.5.2 #sum of digits def sum_of_digits(num): sum=0 while num!=0: r=num%10 sum=sum+r num=num//10 return sum print(sum_of_digits(1234087))
run
|
edit
|
history
|
help
0
Partition To 2 Equal Sum Subsets From An Array of Integers
CalcV3 with PLY
Ej2_python_204676887
kenken1
Evaluacion 2 -ICA
Tuple_Exercise1_solution
iya
Get the longest repeated non-overlapping substring
ElaineBrown** rextester.com
PySlots