Course contentsShow
Python
Lesson 436 of 1,28911. DictionariesPro lesson

`.setdefault(key, default)`

Insert default if missing, then return value.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.