Potong semua baris baru string python
str1 = "\n Starbucks has the best coffee \n"
newstr = str1.strip()
or
for sub in list1:
rez.append(sub.replace("\n", ""))
Colorful Copperhead