Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 211 Bytes

File metadata and controls

11 lines (6 loc) · 211 Bytes

Summation

Goal: Use Python to implement Summation

Overview

Given an integer, create a function which returns the sum of all individual digits in that integer.

Ex. if n=4321, return 4+3+2+1

See Also