fork(1) download
  1. def task5(text):
  2. s = "".join(ch.lower() for ch in text if ch.isalnum())
  3. return 1 if s == s[::-1] else 0
Success #stdin #stdout 0.08s 14104KB
stdin
1
0
stdout
Standard output is empty