けむにく@競プロ@kemuniku(not x >= 1.1) and (not x<=1.1がTrueになるもの、ほかにあるかなぁ午前6:11 · 2023年6月1日·1,647 件の表示2 件のリツイート1 件の引用9 件のいいね
みけCAT@mikecat_mixc·1分ある そのように定義すればよい class Hoge(): def __le__(s, o): return False def __ge__(s, o): return False x = Hoge() print((not x >= 1.1) and (not x<=1.1))2