Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Solution for Anything by quis20
class T:
def __init__(self, anything):
pass
def __lt__(self, otherthing):
return True
def __gt__(self, otherthing):
return True
def __ge__(self, otherthing):
return True
def __le__(self, otherthing):
return True
def __eq__(self, otherthing):
return True
def __ne__(self, otherthing):
return True
def checkio(anything):
'''
try to return anything else :)
'''
return T(anything)
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 :(')
Jan. 26, 2016