a
和
b
import json
with open("intents_kor.json") as file:
data = json.load(file)
a = input('input a : ')
b = input('input b : ')
data['intents'].append({'tag': 'not_in_json', 'patterns': ['a'], 'responses': ['b'], 'context_set': ''})
我想把我的投入
一
乙
到
一
和
乙
append()
.
我该怎么做?