2 lines
127 B
Python
2 lines
127 B
Python
num=eval(input("请输入幸运数字:"))
|
|
print('输入了幸运数字1') if num==1 else print('输入了其他幸运数字') |
num=eval(input("请输入幸运数字:"))
|
|
print('输入了幸运数字1') if num==1 else print('输入了其他幸运数字') |