add new fun to generate profiles

This commit is contained in:
Lei PAN
2022-05-29 22:20:25 +02:00
parent f303c33752
commit d45f78c44a
5 changed files with 113 additions and 18 deletions
+1 -2
View File
@@ -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