Advertisement
Guest User

@qwl_ | www5

a guest
Nov 15th, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. import random
  2.  
  3. array = ['q', 'w', 'e', 'r', 't', 'y', 'u', 'i', 'o', 'p', 'a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'z', 'x', 'c', 'v', 'b', 'n', 'm', 'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', 'o', 'p', 'a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'z', 'x', 'c', 'v', 'b', 'n', 'm', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '_']
  4. value1 = random.choice(array)
  5. value2 = random.choice(array) + random.choice(array)
  6. value3 = random.choice(array) + random.choice(array) + random.choice(array)
  7. value4 = random.choice(array) + random.choice(array) + random.choice(array) + random.choice(array)
  8.  
  9. print(' [ List Generator v1.0 ]')
  10. print('')
  11. print(' ( All CopyRight By - Instagram : @qwl_ )')
  12. print('')
  13. print('')
  14.  
  15. Length = input('length : ')
  16.  
  17. save = open('list.txt', 'w')
  18.  
  19. lCount = input('count : ')
  20.  
  21.  
  22. def user2():
  23. for i in range(0, int(lCount)):
  24. save.write(random.choice(array) + random.choice(array) + '\n')
  25.  
  26.  
  27. def user3():
  28. for i in range(0, int(lCount)):
  29. save.write(random.choice(array) + random.choice(array) + random.choice(array) + '\n')
  30.  
  31.  
  32. def user4():
  33. for i in range(0, int(lCount)):
  34. save.write(random.choice(array) + random.choice(array) + random.choice(array) + random.choice(array) + '\n')
  35.  
  36.  
  37. if Length == '2':
  38. user2()
  39. elif Length == '3':
  40. user3()
  41. elif Length == '4':
  42. user4()
  43.  
  44. print('')
  45. print('')
  46. print('')
  47. input("It's Done, PRESS ENTER TO CLOSE ME ...")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement