python-checkio/IceBase/funny-adding.py

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')