4 ms·
You can use following syntax in python, ugly but better than multiple and (I don't use python anymore) if dict.get('key', {}).get('key-nested',{}).get....:
by new_user_final 2y ago
You can use following syntax in python, ugly but better than multiple and (I don't use python anymore)
if dict.get('key', {}).get('key-nested',{}).get....: