Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
The best class! solution in Clear category for Solution for Anything by ermichin158
class All(object):
__eq__ = __ne__ = __lt__ = __gt__ = __ge__ = __le__ = lambda *x: True
def checkio(anything):
return All()
if __name__ == '__main__':
import re
import math
assert checkio({}) != [], 'You'
assert checkio('Hello') < 'World', 'will'
assert checkio(80) > 81, 'never'
assert checkio(re) >= re, 'make'
assert checkio(re) <= math, 'this'
assert checkio(5) == ord, ':)'
print('NO WAY :(')
Oct. 28, 2015