Palindrom¶ Opis problemu¶ Implementation¶ 1 2 3 4 5 6 7 8 9def is_palindrome(a: str) -> bool: return a == a[::-1] a = "kajak" if is_palindrome(a): print(f'{a} jest palindromem') else: print(f'{a} nie jest palindromem') Was this page helpful? Thanks for your feedback! Thanks for your feedback!