Tips (Utility, Computer Language, and etc.)
[python] list출력(join사용)
Struggler J.
2017. 11. 7. 03:53
Note: List의 모든 elements가 string일때만 사용 가능하다.
res = []
res.append(["a", "123", "bb"])
ofp.write("%s\n" % " ".join(res))