Code viewer for World: Activity 2.5
# ============================================================
# SECTION 5 — Logical Operators
# ============================================================

age    = 20
has_id = True

if age >= 18 and has_id:
    print("Entry allowed.")
else:
    print("Entry refused.")

# TASK: Set has_id to False and run again.
#       Then change the 'and' to 'or' — what is different?