请各位大神帮助解决!报错KeyError
代码为:favorite_language={
'jen':'python',
'sarah':'C',
'edward':'ruby',
'phil':'python',
}
for language in favorite_language.values():
print("The language is "+favorite_language[language].title())
报错为:KeyError:'python'
新人,不知问题出在哪里~~求解