Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in 3rd party category for Funny Addition by maartiin01
import numpy
def checkio(data):
"""The sum of two integer elements"""
a, b = data
return numpy.sqrt(numpy.power(*numpy.vstack(zip(list(reversed(data)), list(reversed([a, b])))).diagonal())**(1/(a/2))) + a
if __name__ == '__main__':
assert checkio([5, 5]) == 10, 'First'
assert checkio([7, 1]) == 8, 'Second'
print('All ok')
Sept. 23, 2018