7 lines
143 B
Python
7 lines
143 B
Python
# 双分支
|
|
num1=eval(input("请输入幸运数字:"))
|
|
|
|
if num1==1:
|
|
print("幸运数字1")
|
|
else:
|
|
print("输入了其他幸运数字") |