Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- '''
- example dictionary values:
- csvdict = {1: {'usage': 73433959, 'MCCMNC': '310180'}, 258: {'usage': 419, 'MCCMNC': '310410'}, 982: {'usage': 1528428, 'MCCMNC': '310180'}, 262: {'usage': 0, 'MCCMNC': '310410'}, 1068: {'usage': 68517, 'MCCMNC': '310410'}}
- '''
- for key in csvdict:
- if len(csvdict[key]) > 1:
- print('{}:\t{}\t{}'.format(x,csvdict[x]['mccmnc'], csvdict[x]['usage']))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement