crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Can you define dictionary in Python?
Question Posted on 20 Jul 2021Home >> Python Programming >> Python Questions >> Can you define dictionary in Python?

Can you define dictionary in Python?
Dictionary in Python is one of supported data types in Python. Dictionary is an unordered collection of elements. And all the elements in dictionaries are stored as key-value pairs. And dictionaries are indexed by keys.
To understand dictionary we will take a example of dictionary which name is student. And this will have two keys, Name and subject along with there values.
syntax:-
student={'Name':'Adam','Subject':'English'}

output:-
Name:Adam, Subject:English
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

Program to check sequence is palindrome or not?

Can you define Memory Management in Python?

Can you define dictionary in Python?

Can you please mention some builtin Data Types in Python?

Write a code to read JSON file and print data of JSON in Python?






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap