Advertisement
robjones90

Divide by whitespace

Jun 2nd, 2022
766
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. string_of_words = "this is a list or words that yiu want divided so that you can see how its done"
  2.  
  3. list_of_words = string_of_words.split()
  4.  
  5. print(list_of_words)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement