You can pass a default value as the second argument to dict.get()
, like this:
dict.get('keyB_1', {}).get('keyB_2', {}).get('keyB_3')
You can pass a default value as the second argument to dict.get()
, like this:
dict.get('keyB_1', {}).get('keyB_2', {}).get('keyB_3')
For further actions, you may consider blocking this person and/or reporting abuse
Junissen -
Frédéric Guérin (Satora Penter) -
Dharmen Shah -
Maxim Saplin -
Top comments (0)