Skip to content

Commit 9e44203

Browse files
committed
maths: fix line too long in armstrong_numbers
1 parent 1c815a2 commit 9e44203

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

maths/armstrong_numbers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Armstrong Numbers - checking if a number equals sum of its digits raised to power of digit count."""
1+
"""Armstrong Numbers."""
22

33

44
def is_armstrong(number: int) -> bool:
@@ -10,7 +10,7 @@ def is_armstrong(number: int) -> bool:
1010
>>> is_armstrong(1)
1111
True
1212
>>> is_armstrong(153)
13-
True
13+
True
1414
>>> is_armstrong(370)
1515
True
1616
>>> is_armstrong(9474)

0 commit comments

Comments
 (0)