def generate_access_code():
length = <NUM_LIT:6><EOL>chars = string.uppercase + string.digits[<NUM_LIT:1>:]<EOL>return get_random_string(length=length, allowed_chars=chars)<EOL>
Generates an access code for users' payments as well as their
    fulfilment code for check-in.
    The access code will 4 characters long, which allows for 1,500,625
    unique codes, which really should be enough for anyone.