0
Hello to everyone! Please help. Description in the code
When I send my code to the tester I get an error and the message Checker message: Line 1 differs: out: > {'Judge': 29.0, 'Some occupation': 40.0} < corr: > {"Judge": 29.0, "Some occupation": 40.0} < https://code.sololearn.com/c82JE9E2Hrey/?ref=app P. S. In the mobile version of sololearn, only 100 characters are available for input. And in the task, the input is more than 100 characters.
2 ответов
+ 2
Is it the problem of double quotes rather than single quotes. If it is, just change the quotas directly.
r = str(r).replace("\'", "\"")
0
thanks a lotTena Walcott