Files
python/pythonProject/第二章/if/双分支结构2.py
T
2024-01-01 16:50:40 +08:00

3 lines
116 B
Python

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