# 同时满足两个条件
age = 20
has_ticket = True
if age >= 18 and has_ticket:
    print("允许进入")
else:
    print("条件未满足")
