YUNOVA · Python programming · Module 7: Dictionaries & Sets

Python dictionary methods - get, keys, values, items

Notes for offline study · 30 November 2026

Python dictionary methods - get, keys, values, items

Key points

  • get() से value मिलती है और key न हो तो error की जगह None आता है।
  • keys() सारे नाम देता है और values() सारी values।
  • items() दोनों एक साथ देता है, जो for loop में काम आता है।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.