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