bobhig

username_generator

May 16th, 2021
461
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from random import choice, randint
  2.  
  3. adjectives = ["happy", "hungry", "thirsty", "relentless", "rigid", "idle", "programmable", "obscure" , "sad" , "jealous"];
  4. nouns = ["books","burgers","apples","shoes","socks","finger","eyes","song","tenor","bass"]
  5.  
  6. first_word = choice(adjectives)
  7. second_word = choice(nouns)
  8.  
  9. first_number = randint(0,9)
  10. second_number = randint(0,9)
  11.  
  12. first_number = str(first_number)
  13. second_number = str(second_number)
  14.  
  15. print("Your username is " + first_word + second_word + first_number + second_number)
RAW Paste Data