Skip to content

Commit 65732aa

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e9ab1d4 commit 65732aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

maths/palindrome_number.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
123 -> False
88
"""
99

10+
1011
def is_palindrome(number: int) -> bool:
1112
"""
1213
Check if a number is a palindrome.
@@ -25,5 +26,5 @@ def is_palindrome(number: int) -> bool:
2526

2627

2728
if __name__ == "__main__":
28-
print(is_palindrome(121)) # True
29-
print(is_palindrome(123)) # False
29+
print(is_palindrome(121)) # True
30+
print(is_palindrome(123)) # False

0 commit comments

Comments
 (0)