I am trying to create a nested dictionary objects but for some reason it's not creating a key for every single numbers in the range. I am trying to basically have information for multiple vlans in a dictionary so i can access them like such vlan[0], vlan[1], etc... However it holds the information for the last value. For example if i put num\_of\_vlans=2. I will only have value in vlan[1] no value in vlan[0]. What am I doing wrong here? How can i get the desired result? 

```
num_of_vlans=input("How many VLANS do you need?: ")

num_of_vlans=int(num_of_vlans)

for i in range(num_of_vlans):
    print("Enter Information for vlan {0}".format(i+1))
    vlan={i:{'name':input("Name: "),
    'vlan_id':input("ID: "),
    'ip':input("IP: "),},}

```