テックアイエスガイド エディター
無料プログラミング体験会の予約
実行
1
2
3
4
5
6
import re
#空白文字で文字列を分割する:
txt = "The rain in Spain"
x = re.split("\s", txt)
print(x)