import json

"""写入数字"""
# with open("10.11.json","w") as txt_obj:
#     userNum = int(input("喜欢的数字:"))
#     json.dump(userNum, txt_obj)

# 读取数字
with open("10.11.json") as txt_obj:
    num= json.load(txt_obj)
    print("I know you love:"+str(num))

d8234b4ef6baee082289ea1b37edc5f9a8115a94
<mask token>

<mask token>
with open('10.11.json') as txt_obj:
    num = json.load(txt_obj)
    print('I know you love:' + str(num))

import json
<mask token>
with open('10.11.json') as txt_obj:
    num = json.load(txt_obj)
    print('I know you love:' + str(num))

import json

"""写入数字"""
# with open("10.11.json","w") as txt_obj:
#     userNum = int(input("喜欢的数字:"))
#     json.dump(userNum, txt_obj)

# 读取数字
with open("10.11.json") as txt_obj:
    num= json.load(txt_obj)
    print("I know you love:"+str(num))
