I'm new to python!
players = ["Matt","Joe", "Barry","Billy"]
numbers = [1,2,3,4]
def assignment(players, numbers):
for i in players:
for j in numbers:
print i,j
assignment(players,numbers)
My attempt is above.
I want to try make the answer =
Matt 1
Joe 2
Barry 3
Billy 4
but at the minute each name is being assigned each number! Any advice on how to fix this?