You are viewing a single comment's thread. Return to all comments →
s = input() for i in range(1,len(s)): if s[i].isalnum() and s[i] == s[i-1]: print(s[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 →