Answers for "Generate a random String of length 5. Note : String must be the combination of the UPPER case and lower case letters only . No numbers or a special symbol . You may need to look at the ‘string’ module ,you can use ‘string.ascii_letters’"

6

python random string

import secrets 
secrets.token_hex(nbytes=16)

# this will produce something like 
# aa82d48e5bff564f3221d02194611c13
Posted by: Guest on August-11-2020

Code answers related to "Generate a random String of length 5. Note : String must be the combination of the UPPER case and lower case letters only . No numbers or a special symbol . You may need to look at the ‘string’ module ,you can use ‘string.ascii_letters’"

Python Answers by Framework

Browse Popular Code Answers by Language