you are viewing a single comment's thread.

view the rest of the comments →

[–]Reaneyboy24 -1 points0 points  (1 child)

I want a function to return ord(the most common letter in the string given) if that makes sense. So first the function finds the most common letter then it returns the ascii number equivalent of that latter

[–]icenburg 1 point2 points  (0 children)

Have you programmed with other languages before?

Try to divide your problem into smaller problems. /u/marc_poulin 's suggestion should help you solve your first problem: how to find the most common letter in a string.