Apr-24-2017, 12:43 PM
Just a little remark: repeatedly calling randint is not a good way to create unique ID's (you need to be quite lucky to not have duplicities if you roll sixteen times integer between 10 and 99).
random.sample()
is better suited for such task:unique_id = random.sample(range(10,100), len(firstName))