This is my first post, so please be patient with me.. So i've been coding in python for about a month, and i'm not exactly brilliant, so i'm stumped. The system is a basic login (A-Level work) for a "merit system", however the list cannot get past the first user in the class?
Code:
Sorry if i've been vague, feel free to ask any further questions
thanks in advance,
Ed
Code:
Code:
def findStudent(username): for i in range(len(students)): if students[i][0] == username: return i return -1
thanks in advance,
Ed
Comment