Do IT Yourself
간단한 문제이다. 띄어쓰기를 기준으로 문장을 쪼개어 단어의 개수를 세면 된다. string = input() print(len(string.split()))