PY
py
1
2
3
4
5
6
7
8
9
10
#Why isn't my spy life code passing test case 3
import re
def strip_chars(str, chars):
return "".join(c for c in str if c not in chars)
#x = input()
x = "d89%l++5r19o7W *o=l645le9H"
print(strip_chars(x[::-1], "1234567890@@##$$__&&--++//**::;;!!??~~``||••√√ππ÷÷×׶¶∆∆££¢¢€€¥¥^^°°==\\%%©©®®™™✓✓<<>>..,,"))
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run