Skip to content

Commit 12e7074

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9dde9ab commit 12e7074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maths/armstrong_numbers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def armstrong_number(n: int) -> bool:
2929
number_of_digits = 0
3030
temp = n
3131
# Calculation of digits of the number
32-
number_of_digits=len(str(n))
32+
number_of_digits = len(str(n))
3333
# Dividing number into separate digits and find Armstrong number
3434
temp = n
3535
while temp > 0:

0 commit comments

Comments
 (0)