I want to generate a string of size N.
It should be made up of numbers and uppercase English letters such as:
import uuid lowercase_str = uuid.uuid4().hex
lowercase_str is a random value like 'cea8b32e00934aaea8c005a35d85a5c0'
lowercase_str
'cea8b32e00934aaea8c005a35d85a5c0'
uppercase_str = lowercase_str.upper()
uppercase_str is 'CEA8B32E00934AAEA8C005A35D85A5C0'
uppercase_str
'CEA8B32E00934AAEA8C005A35D85A5C0'