I reached below list (data list in the end code) after calculation of the hash password from the csv file:
['danial', 5104, 'elham', 9770]
and i am going to write every name and password on csv file (update it) in below order:
I have used below code, but the output is false.
data= for item in list3: #data= l3= l3.append(item) #print(l3) data.append(str(item)) print(data) with open('code.csv', 'w', newline='') as output_file_name: writer = csv.writer(output_file_name) writer.writerows(data) output_file_name.close()