Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
simple solution in Uncategorized category for Funny Addition by Wiles
# migrated from python 2.7
def checkio(data):
'The sum of two integer elements'
a,b = data
while a and b:
a += 1
b -= 1
return a or b
if __name__ == '__main__':
assert checkio([5, 5]) == 10, 'First'
assert checkio([7,1]) == 8, 'Second'
print('All ok')
June 5, 2013
Comments: