想知道怎么让数组显示在一整行

相同方式给数组赋值,但是出现了分行,数组前出现空格,怎么样让它更美观

arr = [1, 2, 3, 4, 5]
print('[' + ', '.join(map(str, arr)) + ']')

具体是什么问题啊,没有描述清楚