Python automation word from a sentence

Run Settings
LanguagePython
Language Version
Run Command
import re s1="go to heaven" r=re.compile(r'\w{6}') result=re.findall(r,s1) print(result)
Editor Settings
Theme
Key bindings
Full width
Lines