Advertisement
Guest User

new

a guest
Jan 21st, 2020
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. import random
  2.  
  3. alpha = ('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i',
  4. 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z')
  5.  
  6. symbol = ('@', '$','#','_','&','-','+','(',')','/','*','"',':',';','!','?',',','~',
  7. '`')
  8.  
  9. numb = ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9')
  10. ranLetter = random.choice(alpha)
  11. upperCase = ranLetter.upper()
  12. ranCase = random.choice(upperCase, ranLetter)
  13.  
  14. print(ranCase)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement