I need to fill a JSON with touple KEY=>VALUE, where the KEY are NUMBERS from 0 to 9 and VALUE are the same NUMBERS between "(#)", how can I build the JSON???
import json
import sys
keys = []
values = []
for i in range(10):
number = i+1
letter= str(numerito)
keys.insert(i,number)
values.insert(i,"("+letter+")")
print(keys)
print(values)
#Here I need to construct the JSON
json = {}
json = ('key{}'.format(index), val) for keys, val in enumerate(value{}) #I can't understand how to make the association here
#...And y want to obtain some like that:
"""
json = {0:"(0)",1:"(1)",2:"(2)",3:"(3)",4:"(4)",5:"(5)",6:"(6)",7:"(7)",8:"(8)",9:"(9)",}
"""