How may I improve this code ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How may I improve this code ?

For understanding execution of this code step by step I added color printing in output, now I want to know in each step of total_SUM iteration it contains which numbers was added together, I mean receive this output: "total_SUM is: 37 (18+19)" instead of "total_SUM is: 37" in all iterations of total_SUM https://code.sololearn.com/cCBrMta7YKTH/#py Which code I should use to have this output ?

8th Mar 2018, 8:46 PM
NIMA
NIMA - avatar
1 Answer
+ 1
Great code, try to make contact area in your code including E-mail, Facebook... etc keep coding never stop. hope you the best 🌷🌷
17th Mar 2018, 4:14 AM
@mix_tory
@mix_tory - avatar