What is the longest English word that you can type only using one row of the keyboard (or any other set of letters, really)?
A fun little day project. A small pre-requisite is downloading words dictionary from nltk library: more info here.
top_row = 'qwertyuiop'
getWords(top_row)
Returns:
1. proprietory - 11 letters
2. proterotype - 11 letters
3. rupturewort - 11 letters
4. pepperroot - 10 letters
5. pepperwort - 10 letters
6. perpetuity - 10 letters
7. pewterwort - 10 letters
8. pirouetter - 10 letters
9. prerequire - 10 letters
10. pretorture - 10 letters