0

Word into list

How would you take a sentence and make the word in a sentence a list. So not brake it down by letters brake it down by words?

28th Jan 2023, 7:59 PM
james ewell
james ewell - avatar
3 Réponses
+ 5
word = input().split() print(word)
28th Jan 2023, 8:01 PM
Lamron
Lamron - avatar
0
Tokenize is what youre looking for, you can easily research about it
28th Jan 2023, 10:48 PM
Ion Kare
Ion Kare - avatar