Hacker News new | ask | show | jobs
by alwaysbeconsing 1123 days ago
That's not a very big hurdle to overcome, though:

    print("{")
    contents = ""
    for elem in list:
      contents += '"key":  "value",'
    print(contents[:-1])
    print("}")