I am trying to add several data from user to the last rows of several columns, i used this method:
firstname= input("enter your first name: ")
lastname= input("enter your last name: ")
newpass = input("enter a password: ")
newbalance = input("enter balance: ")
ws.cell(column=1,row=ws.max_row +1, value=firstname)
ws.cell(column=2,row=ws.max_row +1, value=lastname)
ws.cell(column=4,row=ws.max_row +1, value=newpass)
ws.cell(column=5,row=ws.max_row +1, value=newbalance)
wd.save(filename)
when i apply this i get an error that it prints the data at the next row of each new column, like this: