Advertisement
jinglis

Random String List Project

Oct 29th, 2014
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.44 KB | None | 0 0
  1. # Name: James Inglis
  2. # Course: Robotics Programming
  3. # Professor: Ms.Stockbridge
  4. # Date: 10/26/14
  5. # Description: This program makes up a list of words and displays them without
  6. #              repeating any of them.
  7. #
  8.  
  9. import random
  10.  
  11. WORDS = ["Sea", "Monsters", "Rugrats", "Doug", "Yes"]
  12.  
  13. random.shuffle(WORDS)
  14.  
  15. print("\n",WORDS)
  16.  
  17. input("Please press any key to continue: ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement