fork(1) download
words = '''あいう'12"3456'''

print("半角の文字は以下です")
for elem in words:
    if elem.encode('utf-8').isalnum():
        print(elem)
Success #stdin #stdout 0.04s 9372KB
stdin
Standard input is empty
stdout
半角の文字は以下です
1
4