Files
python/pythonProject/第二章/双分支结构2.py
T
2024-01-01 13:00:25 +08:00

3 lines
116 B
Python

number=eval(input("请输入幸运数字:"))
result="恭喜您中奖啦!" if number==1 else "hehe!"
print(result)