(Addition: November 22, 2019 20:15) Corrected the method pointed out by @kaizen_nagoya in the comment.
l = [1, 2, 3, 4, 5]
print(*l, sep='\n')
# => 1
# 2
# 3
# 4
# 5
-[Python] Display list elements side by side | Azura Shinonome | note
Recommended Posts