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: Notes of web-specialist
Since 2009