import csv
with open("dd.csv","r") as f:
    a_csv=csv.reader(f)
    # print(list(a_csv))
    for x in a_csv:
        print(x)
with open("ee.csv","w") as f:
    b_csv=csv.writer(f)
    b_csv.writerow(["ID","姓名","年龄"])
    b_csv.writerow(["1001","huoli","18"])
    c=[["1001","huoli","18"],["1001","huoli","18"]]
    b_csv.writerows(c)