python false和False

    true = False


    def wazzup():
        """
        假亦真时真亦假
        """
        false = True or False
        def true():
            nonlocal false
            false = True
            return false

        false = true()

        false = True if false else True
        if False == true:
            false = False
            return false
        elif false == true:
            return True
        else:

            return false


    if wazzup() == True:
        print(wazzup())
posted @ 2023-01-12 11:00  公众号python学习开发  阅读(61)  评论(0编辑  收藏  举报