In Dictionary/Objects in Python, if we want to remove/pop out a key-value pair, we use the pop() method.
Syntax of pop() method –
dictionary.pop(key)
dictionary.pop(key, defaultValue)
#python #programming #code #coding #codeparttime #pythonprogramming #software #computerprogram #program #learncoding