← Back to List
16189번: Repetitive Palindrome ↗
Solutions
Python 3
67 B | 67 chars
s = input() n = int(input()) print("YES" if s == s[::-1] else "NO")