I have 3 arrays of size 5, one containing strings of names, another that correlates with their age, and another that correlates with their salary.
This is my first time using Python so I'm used to Java syntax and I'm not sure if I am approaching this right.
I have the following 2 lines:
for i in range(5):
name = raw_input("Enter a person's name: ")
nameArray.append(str(name))
age = raw_input("What is their age: ")
ageArray.append(int(age))
salary = raw_input("How much do they make: ")
salaryArray.append(int(salary))
for j in range(5):
print(nameArray + ' is ' + ageArray + ' years old and makes $' + salary)