See More

c=input('Enter the string:') b= c.split() print(len(b))