[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-10-07 05:33:32 +00:00
parent 9dde9ab9bc
commit 12e7074878

View File

@ -29,7 +29,7 @@ def armstrong_number(n: int) -> bool:
number_of_digits = 0
temp = n
# Calculation of digits of the number
number_of_digits=len(str(n))
number_of_digits = len(str(n))
# Dividing number into separate digits and find Armstrong number
temp = n
while temp > 0: