PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
letter= False
string= input()
alphabet= "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234576890"
for a in string:
letter= False
for h in alphabet:
if a == h:
letter= True
if letter== False:
string= string.replace(a,"")
print(string)
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run