Python сокращен для петли
File_object.writelines(L) for L = [str1, str2, str3]
Kevincito
File_object.writelines(L) for L = [str1, str2, str3]