Skip to content

条件分支

py
age = 20
if age >= 18:
    print("成年人")
elif age >= 13:
    print("青少年")
else:
    print("儿童")

基于 MIT 许可发布