Hello to everyone! Please help. Description in the code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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.

18th Jul 2020, 1:54 PM
Михаил
2 Answers
+ 2
Is it the problem of double quotes rather than single quotes. If it is, just change the quotas directly. r = str(r).replace("\'", "\"")
18th Jul 2020, 4:00 PM
Tena Walcott
Tena Walcott - avatar
0
thanks a lotTena Walcott
18th Jul 2020, 6:23 PM
Михаил