Advertisement
RustyLogistics

Untitled

Mar 2nd, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. newList = []
  2. def create_new_list(newList):
  3.     #This Function Makes New Lists & Will Give The Created List a Start Value
  4.     uInput = input("Type the word you want to be listed,\nbut remmember that it can only be words. NO INTs: ")
  5.     if newList == []:
  6.         newList.append(uInput)
  7.         print("The LIST has been given the value of: " + uInput)
  8.    
  9.     return newList
  10.  
  11. CNL = create_new_list(newList)
  12. print(CNL)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement