Python. Find max sum of digits without arrays




The task is. You have an array of numbers, you should find the max sum of the digits. The numbers are natural.

Constraints: you can not use arrays.

The most interesting part of this code is to get single digits from a number.

The link for my tutorial tasks is here: https://replit.com/@alexbbell/Module10#module10_7.py




MarkiMarta.com. Notes of web-specialist
Since 2009
18+