一个简单的 python 脚本不起作用。
- 当 s = 8 时,输出 012345。
- 当 s = 7 时,不输出任何内容。
- 当 s = 3 时,输出 012345。
- 当 s = 1 时,不输出任何内容。
s = 1
if s == (8 or 7):
print("012345")
elif s == (3 or 1):
print("543210")
input()
一个简单的 python 脚本不起作用。
s = 1
if s == (8 or 7):
print("012345")
elif s == (3 or 1):
print("543210")
input()
这是谁教你的?
或者