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