fork(1) download
  1. data = ['數學=80','英文=90','自然=70']
  2. result = dict([d.split("=") for d in data])
  3. print(result)
Success #stdin #stdout 0.02s 9232KB
stdin
Standard input is empty
stdout
{'數學': '80', '英文': '90', '自然': '70'}