Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Funny Addition by Krzysztof.Sawarzynski
def checkio(data):
"""The sum of two integer elements"""
for i in range(data[1]):
data[0] += 1
return data[0]
if __name__ == '__main__':
assert checkio([5, 5]) == 10, 'First'
assert checkio([7, 1]) == 8, 'Second'
print('All ok')
Jan. 15, 2017