.Replit -Datei Python



with open("sample.json", "r") as file:
   sample = json.load(file)

sample["item"] = "Value"

with open("sample.json", "w") as file:
   json.dump(sample, file)


Smoggy Salmon