diff --git a/maths/armstrong_numbers.py b/maths/armstrong_numbers.py index cc8e211dc..e1c25d467 100644 --- a/maths/armstrong_numbers.py +++ b/maths/armstrong_numbers.py @@ -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: