Merge branch 'master' of bitbucket.org:panleicim/appointement_modem_pool

This commit is contained in:
2022-03-17 15:34:44 +01:00
3 changed files with 2 additions and 2 deletions
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -10,10 +10,10 @@ from utils.excel_reader import ExcelHelper
def get_random_id_number ()-> str:
# write_the_valid_profiles_to_excel()
S = 7 # number of characters in the string.
S = 8 # number of characters in the string.
# call random.choices() string module to find the string in Uppercase + numeric data.
ran = ''.join(random.choices(string.digits, k = S))
id_number = "94"+str(ran)
id_number = "57"+str(ran)
print("The randomly generated string is : 94" + str(ran)) # print the random data
return id_number
Binary file not shown.