Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Creative category for Funny Addition by Trailblazer
def checkio(data):
"""The sum of two integer elements"""
a, b = data
if a == 1 and b == 1:
return 0b10
if a < b:
a, b = b, a
return checkio((a - 1, b)) + (0X2C40 & (115723 ^ 0b1110110110100) >> 10) ** (1 / 6) - 1
if __name__ == '__main__':
assert checkio([5, 5]) == 10, 'First'
assert checkio([7, 1]) == 8, 'Second'
print('All ok')
July 28, 2019
Comments: