Python-sys.stdin.readline()-库

import sys

lijst_salades = {'Eiersalade' : 5.99,
                 'Paprikasalade' : 6.05,
                 'truffelsalade': 3.99
                 }

input = (sys.stdin.readline())
print(lijst_salades[input])

它给我一个错误

追溯(最近一次通话):文件   “ C:/some/random/dir/right/here/progr.py”,第9行,在       print(lijst_salades [input])KeyError:'truffelsalade \ n'

Can someone explain what is did wrong? If I use print(lijst_salades['Eiersalade'] it works fine.