Guest User

Untitled

a guest
Apr 19th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. from random import choice, randint
  2. nouns = ["time","year","people","way","day","man","thing","woman","life","child","world","school","state","family","student","group","country","problem","hand","part"]
  3. adjectives = ["other","new","good","high","old","great","big","American","small","large","national","young","different","black","long","little","important","political","bad","white"]
  4. word1 = choice(nouns)
  5. word2 = choice(adjectives)
  6. digit1 = randint(0, 9)
  7. digit2 = randint(0, 9)
  8. num1 = str(digit1)
  9. num2 = str(digit2)
  10. string = word1 + word2 + num1 + num2
  11. print (string)
Add Comment
Please, Sign In to add comment