You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- import json
-
-
- lines = df.read_text().splitlines()
- ans1 = sum(len(ln) - len(eval(ln)) for ln in lines)
- ans2 = sum(len(json.dumps(ln)) - len(ln) for ln in lines)
|