solar/resources/ex_managed/managers/manager.py
2015-11-30 14:07:36 +02:00

11 lines
160 B
Python
Executable File

#!/usr/bin/env python
import sys
import json
data = json.loads(sys.stdin.read())
rst = {'val_x_val': int(data['val'])**2}
sys.stdout.write(json.dumps(rst))