0

Python

For example, I want to create an interpreter and have the meaning of the words (flowers, this, is, beautiful). The user enters a sentence that contains those words. How am I supposed to separate them so that they can be word for word?

2nd Apr 2020, 11:11 AM
Ali Khosroanjam
Ali Khosroanjam - avatar
3 Respostas
0
Thanks
2nd Apr 2020, 11:24 AM
Ali Khosroanjam
Ali Khosroanjam - avatar
0
+if you want to rejoin you can use word=['flowers','this','is','beautiful'] " ".join(word)
2nd Apr 2020, 11:26 AM
Tricker