Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Funny Addition by wolicki.mikolaj
def checkio(data):
wynik=0
for a in data:
wynik=wynik+int(a)
return wynik
if __name__ == '__main__':
assert checkio([5, 5]) == 10, 'First'
assert checkio([7, 1]) == 8, 'Second'
print('All ok')
Nov. 27, 2016