比较char总是输出false,即使应该为true

时间:2020-10-01 19:00:21

标签: c++ if-statement

我是编码的新手,我正在尝试制作一个简单的游戏启动器。这个想法是这样的:

plt_promoted_followers = promoted_followers.plot(x="date", y="followers", color='red')
plt_promoted_followers.set(xlabel="Date", ylabel="Followers in billion")

您必须输入数字才能打开游戏。

但是,每当我输入某些内容时,即使输入应为true,它也始终会输出false。我不明白我在做什么错。

代码如下:

1    "Game 1"
2    "Game 2"

任何帮助将不胜感激。

0 个答案:

没有答案
相关问题