Print Sum of all digits in Numbers From 1 to N in Python

Print Sum of all digits in Numbers From 1 to N in Python

More to explore

Based on this image's title: “Print Sum of all digits in Numbers From 1 to N in Python