contacts = { 'name':'张三', 'sex':"男", 'salary':'8000' } print(type ('sex' in contacts))