首页 > 解决方案 > 布尔输入和输出问题

问题描述

x = bool(input())
print(x)

输入:假
输出:真
为什么输出总是True与输入无关?

标签: pythoninputboolean

解决方案


推荐阅读