Skip to content

Instantly share code, notes, and snippets.

@SmashedFrenzy16
Created July 11, 2021 13:41
Show Gist options
  • Save SmashedFrenzy16/163e480e7f3183616fcceaa86959ab35 to your computer and use it in GitHub Desktop.
Save SmashedFrenzy16/163e480e7f3183616fcceaa86959ab35 to your computer and use it in GitHub Desktop.
print("What's on you mind today?")
response = input("Enter your response: ")
words_split = response.split()
word_count = len(words_split)
print("Wow, you just answered me in {}".format((word_count)),"words!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment