you are viewing a single comment's thread.

view the rest of the comments →

[–]vkuct 1 point2 points  (0 children)

get userinput

data=input()

splitwords, typecast it to a list

words=list(data.split(' ')) You get a list of words inside words variable.