SIGN IN SIGN UP
TheAlgorithms / Python UNCLAIMED

All Algorithms implemented in Python

0 0 1 Python

Armstrong number definition fix (#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
G
Grigoriy Hanin committed
b3b89d9460a56d88ac4ba528363bbdcc55bb3fa6
Parent: 650039a
Committed by GitHub <[email protected]> on 5/30/2021, 11:41:07 PM