Commit 73586a2b by BellCodeEditor

auto save

parent 7c8047c9
Showing with 11 additions and 6 deletions
a = ['a','b','c','d','e','f'] import json
Json_text = '{"a":1,"b":2}'
Json_Dict = json.loads(Json_text)
print(type(Json_Dict))
text = json.dumps(Json_Dict)
print(type(text))
b = a[1:-3]
print(b)
\ No newline at end of file
{"第1名": 0, "第2名": 0, "第3名": 0} {"第1名": 5, "第2名": 4, "第3名": 2}
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment