file_basic.json 399 字节
Newer Older
F
feilong 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
{
  "multiline": [
    {
      "'w'": "'r'",
      "'r'": "'w'"
    },
    {
      "write": "read",
      "read": "write"
    },
    {
      "with open('/tmp/test.txt', 'w') as f": "f = open('/tmp/test.txt', 'w')",
      "with open('/tmp/test.txt', 'r') as f": "f = open('/tmp/test.txt', 'r')"
    }
  ],
  "source": "file_basic.py",
  "depends": [],
  "exercise_id": 199,
  "type": "code_options"
}