2017qwe
V2EX  ›  问与答

哪里错了

  •  
  •   2017qwe · Sep 19, 2018 · 1418 views
    This topic created in 2968 days ago, the information mentioned may be changed or developed.

    favorite_languages = { 'jen': 'python', 'sarah':'c', 'edward': 'ruby', 'phil': 'python', } for name, language in favorite_languages.items(): print(name.title() + " 's favorite languages is" + languages.title() + ".")

    ClutchBear
    ClutchBear
    Sep 19, 2018
    1
    https://ww1.sinaimg.cn/large/005YhI8igy1fven2kes1rj310409v0tu

    编辑器自动提示了啊, 有白色下划线的变量写错了,多了一个 s
    2017qwe
    2017qwe
    OP
    Sep 19, 2018 via Android
    2
    改了还是不行
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1409 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 18:48 · PVG 02:48 · LAX 10:48 · JFK 13:48
    ♥ Do have faith in what you're doing.