📜  如何在python代码示例中响应数字

📅  最后修改于: 2022-03-11 14:45:34.410000             🧑  作者: Mango

代码示例1
variablename = int(input('Text You Want'))

if variablename == 1:
    print('You Typed 1')