# Random string generator

import random
import string

no_of_char = 8

rand_string = ""
for x in range(no_of_char):
    rand_string += random.choice(string.ascii_letters +
                                 string.digits)
print(rand_string)


rand_string = "".join(random.choice(string.ascii_letters + string.digits) for x in range(no_of_char))
print(rand_string)

cb821d746311668a31f4cd7faa1bdc253d888a25
<mask token>

<mask token>
for x in range(no_of_char):
    rand_string += random.choice(string.ascii_letters + string.digits)
print(rand_string)
<mask token>
print(rand_string)

<mask token>
no_of_char = 8
rand_string = ''
for x in range(no_of_char):
    rand_string += random.choice(string.ascii_letters + string.digits)
print(rand_string)
rand_string = ''.join(random.choice(string.ascii_letters + string.digits) for
    x in range(no_of_char))
print(rand_string)

import random
import string
no_of_char = 8
rand_string = ''
for x in range(no_of_char):
    rand_string += random.choice(string.ascii_letters + string.digits)
print(rand_string)
rand_string = ''.join(random.choice(string.ascii_letters + string.digits) for
    x in range(no_of_char))
print(rand_string)

# Random string generator

import random
import string

no_of_char = 8

rand_string = ""
for x in range(no_of_char):
    rand_string += random.choice(string.ascii_letters +
                                 string.digits)
print(rand_string)


rand_string = "".join(random.choice(string.ascii_letters + string.digits) for x in range(no_of_char))
print(rand_string)
