Scrabble_score


#1

if " " not in word or "." not in word or "," not in word or "-" not in word or ":" not in word or ";" not in word:

Can this string, that checks if the word contains no spaces or punctiation, become more compact?


#2

you can use .isalpha() which you also used pyglatin


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.