#version 1
text = "cow shark bull raven gorilla wolf cat dog"
words_list = text.split()
print(words_list) #display finished list of words
#version 2
text = input("Enter string that is a long series of words separated by spaces:\n")
words_list = text.split()
print(words_list) #display finished list of words
Comments
Leave a comment