l=[i for i in input().split()] a=[] for i in l: if(any(c.isalpha() for c in i) and any(c.isdigit() for c in i)): a.append(i) print(a)
To embed this program on your website, copy the following code and paste it into your website's HTML: