📜  python代码示例中的布尔值

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

代码示例6
#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")