fork download
  1. import string
  2.  
  3. def checkio(text):
  4. text = text.lower()
  5. return max(string.ascii_lowercase, key=text.count)
  6.  
  7. if __name__ == '__main__':
  8. print( checkio("Hellooaaaacccc bbbbWorld!") )
Success #stdin #stdout 0.03s 9440KB
stdin
Standard input is empty
stdout
a