怎么在input输入有\n的字符呢?

#python读取excel列名
sheet_list = [df_sip]
for df in sheet_list:
print(df.columns)

#print的内容为:Index([ 'Price\n(Currency)'],dtype='object')

df_sip.current = df_sip[[input("请输入:")]]

#为什么我在输入框输入Price\n(Currency),会报错"None of [Index(['Price\n(Currency)'], dtype='object')] are in the [columns]"呢?
应该怎么在input输入有换行的字符呢?用的是google的colab

#实现回车换行,而不是结束
endstr=""#重新定义结束符
str=""
for line in iter(input,endstr):#每行接收的东西 用了iter的哨兵模式
    str+= line+"\n"#换行
print(str)

img


看了下是因为input \n后,print会变成\n,导致无法在excel中找到对应的列
这个应该怎么解决呢?