eole-redis/creolefuncs/redis.py

9 lines
130 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
#
# just add 2 numbers ...
#
def add(num1, num2):
return str(int(num1) + int(num2)).decode("utf-8")