Merge branch 'master' of bitbucket.org:panleicim/appointement_modem_pool
This commit is contained in:
Binary file not shown.
@@ -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.
Reference in New Issue
Block a user