Python if语句

Posted >srlemon

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Python if语句相关的知识,希望对你有一定的参考价值。

a=99

b=input("请输入一个数字:")

int(b)

if a >b:

    print("欢迎来到Python")

eilf a=b:

    print("Python世界")

else:

print("纯属娱乐")

以上是关于Python if语句的主要内容,如果未能解决你的问题,请参考以下文章