I found this programming problem while looking at a job posting on SO. I thought it was pretty interesting and as a beginner Python programmer I attempted to tackle it. Howe
Here's a way using FOR LOOP AND COUNT()
w = input() r = 1 for i in w: p = w.count(i) if p > r: r = p s = i print(s)