Armstrong number definition fix (#4466) · devdave/Python_TheAlgorithms@b3b89d9 · GitHub
Skip to content

Commit b3b89d9

Browse files
authored
Armstrong number definition fix (TheAlgorithms#4466)
This is a documentation fix. This fix patches a mistake in the description of the Armstrong number. * * Doc fix * Armstrong number is not the sum of cube's of number digits, but the sum of number's digits each raised to the power of the number of digits * Update armstrong_numbers.py Line shorten
1 parent 650039a commit b3b89d9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

maths/armstrong_numbers.py

Lines changed: 2 additions & 1 deletion

0 commit comments

Comments
 (0)