diff --git a/contact.xlsx b/contact.xlsx index 05cd559..4cae14e 100644 Binary files a/contact.xlsx and b/contact.xlsx differ diff --git a/utils/generate_random_passport_id.py b/utils/generate_random_passport_id.py new file mode 100644 index 0000000..601fd96 --- /dev/null +++ b/utils/generate_random_passport_id.py @@ -0,0 +1,19 @@ +import random +import string + +letters = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'P', 'Q', 'R', 'S', 'T','1','2','3','4','5','6','7','8','9'] + + +def get_random_id_number() -> str: + # write_the_valid_profiles_to_excel() + S = 7 # 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 = "E" + random.choice(letters) + str(ran) + # print("The randomly generated string is :" + str(ran)) # print the random data + return id_number + + +if __name__ == '__main__': + for i in range(1,475): + print(get_random_id_number()) \ No newline at end of file