I´m self learning Python by reading Python programming fundamentals by Kent D. Lee. In one exercise I´m asked to parse an excel document using a while loop. I understand how to do it with a for but the while is suggested because the first row of the table is just the description of each row and hence I want to omit it. Here is my for code:
file = open("Nissan2.cvs", "r")
for line in file:
lst = line.split(",")
print(lst)
For it to give me the information I want, I deleted the first row directly from the document but that is not the correct way, also I´m not interested in importing a library since I haven´t been introduced to them. Thanks in advance!