Run ❯
Get your
own Python
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
import re #Split the string at the first white-space character: txt = "The rain in Spain" x = re.split("\s", txt, 1) print(x)
['The', 'rain in Spain']