Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. def num_words(string):
  2. """I have the high ground Anakin"""
  3. split_words = string.split(' ')
  4. word_count = len(split_words)
  5. return word_count
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement