📜  布尔 python 示例 - Python 代码示例

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

代码示例2
#The Python Boolean type is one of Python's built-in data types. It's used to represent the truth value of an expression.
#in this code if you're age is under 13 than a massage will tell you that you are not able to sign up
Name = input("Povide your name : ")
Email = input("Provide your email : ")
age = input("Provide your age : ")
if age < "13":
    print("you are not able to sign up")
else:
    if age > "13":
        print("you are able to sign up")