educative.io

What strategy to use with KGS to generate random keys?

Could you please share what are the possible strategies for KGS to generate keys?

1 Like

import string, random
‘’.join(random.choices(string.ascii_lowercase + string.digits, k=6))