Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

Creating a new dictionary in Python

Asked by Gracelee04 Apr 18, 2025 935 views 1 answer
Share

About this question

 A dictionary in Python is a collection of key-value pairs. You can easily create one using curly braces {} or the dict() function, and it allows you to store and retrieve values efficiently using unique keys.

Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.