I am trying to add an element to a json file in python but I am not able to do it.
This is what I tried untill now (with some variation which I deleted):
<
You can do this.
data[0]['f'] = var