• Until now your script printed the config for any VLAN number, even 5000.
    A switch only accepts VLAN 1 to 4094, so the script must check first.

    To check, you use a comparison and Python answers True or False.

    vlan_id = 20 stores 20 in vlan_id, while vlan_id == 20 compares, and the answer is True or False.

    Figure 1 - One = Stores, Two == Compare

    Python has six signs to compare values, called comparison operators:

    vlan_id == 20     equal to
    vlan_id != 20     not equal to
    vlan_id < 20      lower than
    vlan_id > 20      greater than
    vlan_id <= 4094   lower than or equal to
    vlan_id >= 1      greater than or equal to

    To see the answer of a comparison, you print it like this:

    vlan_id = 5000
    print(vlan_id <= 4094)    # Output: False

    In the lab, print a comparison that checks if vlan_id is greater than or equal to 1 to get the flag.

    Answer the question below

    Enter the flag you obtained.