def add(id):
import podop as pod
nd=63254
user=id
f=open("podop.py","w")
n=pod.rut
n.append(f"{nd}")
print(n)
f.write(f"{user}={n}")
f.close()
import json
user = {}
for _ in range(10):
user[str(_)] = [i for i in range(2,6)]
with open('users.json','w',encoding='UTF-8') as json_file:
json.dump(user,json_file,indent=8)
with open('users.json',encoding='UTF-8') as json_file:
jsob = json.load(json_file, encoding='UTF-8')
for _ in range(10):
print(_,jsob[str(_)])