f = open('/storage/emulated/0/Download/comm.json')
data = f.read()
print(data['langRU'])
f.close()
#answer = meaning
meaning = 0 #or meaning = input("> ")
#answer = "Ответ: "+str(meaning) #Input
можно это сделать так:
def command():
global meaning
meaning = 1
answer = "Ответ: "+str(meaning) #Output
print("\033[H\033[J")
print(answer)
#Input: Ответ: 0
#Output: Ответ: 1