4 lines
79 B
Python
4 lines
79 B
Python
|
import re
|
||
|
|
||
|
def correct_word(string):
|
||
|
return bool(re.match('^\w+$', string))
|