
context = {
    'students' : [
     {'first_name' :  'Michael', 'last_name' : 'Jordan'},
     {'first_name' : 'John', 'last_name' : 'Rosales'},
     {'first_name' : 'Mark', 'last_name' : 'Guillen'},
     {'first_name' : 'KB', 'last_name' : 'Tonel'}
    ]
}


for key, data in context.items():
     #print data
     for value in data:
          print  value["first_name"], value["last_name"]



users = {
 'Students': [
     {'first_name':  'Michael', 'last_name' : 'Jordan'},
     {'first_name' : 'John', 'last_name' : 'Rosales'},
     {'first_name' : 'Mark', 'last_name' : 'Guillen'},
     {'first_name' : 'KB', 'last_name' : 'Tonel'}
  ],
 'Instructors': [
     {'first_name' : 'Michael', 'last_name' : 'Choi'},
     {'first_name' : 'Martin', 'last_name' : 'Puryear'}
  ]
 }

for key, data in users.items():
    counter = 0
    for value in data:
        counter += 1
        length = len(value["first_name"]) + len(value["last_name"])
        full_name = value["first_name"]+ " " + value["last_name"]
        capital = full_name.upper()
        print counter, capital, length





# for index, item in enumerate(users):
#     print(str(index)+" = "+str(item))
