Oct-07-2019, 02:29 PM
(This post was last modified: Oct-07-2019, 02:29 PM by Gribouillis.)
Perhaps you mean
print("In your sentence, the number of words is:", len(sentence.split(' ')))