+ 1
How can i remove the last word from a string?(python)
i have to substitute the last word of a string with a word from a list
1 Respuesta
+ 6
spilt the sentence with .split() method . then its easy
i have to substitute the last word of a string with a word from a list