【Python3】print用逗号,write用加号

print("\n", Gb[u], "\t",IDlist[u],end="")
f.write("\n"+ Gb[u]+"\t"+IDlist[u])