Light Mode
Dark Mode
Fuck yea!!! Solved in one line!

def checkio(text):return max([(text.lower().count(i)-0.001*ord(i),i) for i in "abcdefghijklmnopqrstuvwxyz" if text.lower().count(i)])[1]

However it is not python way to write such brainfucking code. But it was funny)))

Created: March 16, 2015, 10:30 p.m.
Updated: June 20, 2016, 12:51 p.m.
14
8
User avatar
mryak