RunestoneInteractive / fopp

Foundations of Python Programming
https://runestone.academy/runestone/static/fopp/index.html
38 stars 120 forks source link

typo in code #235

Closed irunestone closed 5 years ago

irunestone commented 5 years ago

Error reported in course fopp on page jsonlib by user -dead-inside- bro.mad2016@yandex.ru ActiveCode: 2(ac17_3_2)

d = {'key1': {'c': True, 'a': 90, 5: 50}, 'key2':{'b': 3, 'c': "yes"}} should be d = {'key1': {'c': True, 'a': 90, '5': 50}, 'key2':{'b': 3, 'c': "yes"}} Because of the error: TypeError: '<' not supported between instances of 'int' and 'str' you will not be able to do it in your local env. or in codelens.