Liczba słów w Pythonie String
a_string = "one two three four"
word_list = a_string.split()
print(len(word_list)) # Outputs 4
Doubtful Dragonfly
a_string = "one two three four"
word_list = a_string.split()
print(len(word_list)) # Outputs 4