I need to populate a two dimensional array with salary grades and steps.
salaryGrades = []
salaryStep = 0
salaryInc = 1000
for x in range (0,10):
salaryStep+=100000
salaryGrades.append([salaryStep])
for x in salaryGrades:
salaryInc=+1000
x.append([salaryInc])
print (salaryGrades)
This obviously gives me an incorrect array. I need each array to increment by 10k and each nested array to increment by 1000.
i.e. [ [10000],[11000],[12000],...][20000],[21000][22000],...] ] up to 100k
How do I get this code to work, or is there a better way?