python-checkio/IceBase/funny-adding.py
2019-12-20 17:23:34 +01:00

9 lines
184 B
Python

def checkio(data):
a, b = data
return a + b
if __name__ == '__main__':
assert checkio([5, 5]) == 10, 'First'
assert checkio([7, 1]) == 8, 'Second'
print('All ok')