2017qwe
V2EX  ›  问与答

哪里错了

  •  
  •   2017qwe · Sep 19, 2018 · 1094 views
    This topic created in 2814 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
        1
    ClutchBear  
       Sep 19, 2018
    https://ww1.sinaimg.cn/large/005YhI8igy1fven2kes1rj310409v0tu

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