Want to filter all the items that have a C for nested Hardware value, but return the key, and key:Value data as in the original
SomeDict= {'al': {'Hardware': 'K', 'speed' : '100' },
'ar2': {'Hardware': 'C', 'speed' : '' },
'ar3': {'Hardware': 'C', 'speed' : '' }}
FilterMagic_Desired_Result-> {'ar2': {'Hardware': 'C', 'speed' : '' }, 'ar3': {'Hardware': 'C', 'speed' : '' }}
Tried double for loop but I know this is not the pythonic way and it did not return the keys like al, ar2 and ar3.
How do I get the desired result