Corsi
AccediInizia a imparare l'IA
Corsi
AccediInizia a imparare l'IA
+ 2

Is it possible to combine these two codes and create a general logic for sum of digits of any n digit number?

https://code.sololearn.com/cELsRBOL0Gl6/?ref=app https://code.sololearn.com/cuo7w0V70SM8/?ref=app

sum_of_digits
30th Sep 2017, 12:10 PM
Saloni Singh
2 Risposte
+ 3
yes definitely :- https://code.sololearn.com/c63x69Xzi93L/?ref=app
30th Sep 2017, 12:27 PM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 1
Thank you so much! :)
30th Sep 2017, 12:38 PM
Saloni Singh

Hai spesso domande come questa?

Impara in modo più efficiente, gratuitamente:

  • Introduzione a Python

    7,1M studenti

  • Introduzione a Java

    4,7M studenti

  • Introduzione a C

    1,5M studenti

  • Introduzione a HTML

    7,5M studenti

Vedi tutti i corsi
Popolare oggi
How many time I can use sololearn trial mode?
2 Votes
Ошибка в приложении Sololearn
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
NEO V2.0
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Sololearn course
1 Votes
solo learn program issue - iPhone?
1 Votes
Is it possible to write Rust code that is as compact and expressive as Python?
0 Votes
Bug sur le deuxième cours de python
1 Votes
I am learning javascript intrmdt but when I play a code challenge. The app is givin me comlecated questions with less time.why?
0 Votes