import array as ar
employee_staffnum = ar.array("I", [60001, 60002, 60003, 60004, 60005] )
myarr_len = len(employee_staffnum) # will return the number of elements.
loop = 0
while myarr_len >loop:
    print(f"{loop}: ",employee_staffnum[loop])
    loop += 1

import array as ar
employee_staffnum = ar.array("I", [60001, 60002, 60003, 60004, 60005] )
myarr_len = len(employee_staffnum) # will return the number of elements.
loop = 0
while myarr_len >loop:
    print(f"{loop}: ",employee_staffnum[loop])
    loop += 1

# will return the number of elements.