add new fun to generate profiles
This commit is contained in:
@@ -8,8 +8,7 @@ letters = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'P', 'Q', 'R', 'S',
|
||||
def get_random_id_number() -> str:
|
||||
S = 8 # number of characters in the string.
|
||||
ran = ''.join(random.choices(string.digits, k=S))
|
||||
id_number = str(ran)
|
||||
# print("The randomly generated string is : 94" + str(ran)) # print the random data
|
||||
id_number = str(ran)
|
||||
return id_number
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user