小编E. *_*ham的帖子

如果python中的语句没有打印

我正在为学校工作,这个程序很容易,但我的if语句不能正常工作.有人知道为什么吗?这是代码:

letter = input("Name one of the most common letters in wheel of fortune puzzles: ")

if letter == "r":
    print(letter, "is one of the most common letters!")
if letter == "s":
    print(letter, "is one of the most common letters!")
if letter == "t":
    print(letter, "is one of the most common letters!")
if letter == "l":
    print(letter, "is one of the most common letters!")
if letter == "n":
    print(letter, "is one of the most common letters!")
if letter == "e": …
Run Code Online (Sandbox Code Playgroud)

python if-statement python-3.x

4
推荐指数
1
解决办法
3142
查看次数

标签 统计

if-statement ×1

python ×1

python-3.x ×1