You are viewing a single comment's thread. Return to all comments →
word = input() for i in word: if i.isalnum(): y = i+i if y in word: print(i) break else: print(-1)
Seems like cookies are disabled on this browser, please enable them to open this website
Group(), Groups() & Groupdict()
You are viewing a single comment's thread. Return to all comments →
word = input() for i in word: if i.isalnum(): y = i+i if y in word: print(i) break else: print(-1)