dataset/seed/redis/creolefuncs/redis.py

12 lines
188 B
Python
Raw Normal View History

2022-03-08 19:42:28 +01:00
# -*- coding: utf-8 -*-
#
# just add 2 numbers ...
#
def add(num1, num2):
return str(int(num1) + int(num2)).decode("utf-8")
def intAdd(num1, num2):
return int(num1) + int(num2)