0

I want to get Sum of Sum 


https://code.sololearn.com/c6SLr55u83Uf/?ref=app My desire is.. If i input some number like 44 The answer = 8 And break the program But if my number need sum to get 1 len Like 99 My program give me 2 answer Like 99 -> 18 -> 9 How can i solve it ?

21st Jun 2022, 11:42 PM
Kimya
Kimya - avatar
6 Answers
+ 1
see if that what you want: https://code.sololearn.com/cw9YHngropmr
22nd Jun 2022, 12:26 AM
MO ELomari
MO ELomari - avatar
+ 1
MO ELomari Thanks you!!!đŸ„°
22nd Jun 2022, 6:47 AM
Kimya
Kimya - avatar
22nd Jun 2022, 9:16 AM
MO ELomari
MO ELomari - avatar
+ 1
MO ELomari Thanks you so muchđŸ˜đŸ€
22nd Jun 2022, 9:50 AM
Kimya
Kimya - avatar
0
Justice i know it’s working, i just want if the answer have 2 len , the sum have continue for get 1 len and finally have print 2 answer . Did you get my mean ?
21st Jun 2022, 11:52 PM
Kimya
Kimya - avatar
0
MO ELomari Sorry i have another question. How can i add “->” to my all answer ? Like -> 18 -> 9
22nd Jun 2022, 8:37 AM
Kimya
Kimya - avatar