You are on page 1of 3

24/02/2017 DictionaryinPython

Jobs ?Ask

Interview Currentaffairs Exam Engineering MCA MBA GD Placementpapers HR


Aptitude English DictionaryinPython
Onlinetest Login

MCQs English TutorialsDownload


OtherProgrammingLanguages>>PythonPart2

NextPage Latesttopics

DataStructurePart1
ExplainthedictionaryinPython.
DataStructurePart2

Python'sbuiltindatatypeisdictionary,whichdefinesoneto
EmbeddedSystems
onerelationshipsbetweenkeysandvalues. Interview
Dictionariesconsistofpairsofkeysandtheircorresponding
AdvancedEmbedded
values.
Systems
Dictionariesareindexedbykeys.
Dictionaryissimilartoassociativearrayorhashtableofother EmbeddedSystemsfor
languages. freshers

AsfollowingexampleexplainsfurtherIndia,Angel&Cartoon VLSI
arekeys&theircorrespondingvaluesareBharat,Mother
Teresa&Mickeyrespectively. Arrays

>>>dict={'India':'Bharat','Angel':MotherTeresa,'Cartoon': LinkedList

'Mickey'}
Sorting&Searching
>>>printdict[India]
Bharat Stack&Queue

>>>printdict[Angel]
Trees
MotherTeresa
SOA
NextPage
VC++

PERL

OOPSPart1

OOPSPart2

Inheritance&
PolymorphismOOPS

EncapsulationOOPS

AOP

http://www.careerride.com/pythondictionary.aspx 1/3
24/02/2017 DictionaryinPython

Ruby
Jobs ?Ask
Progress

PythonPart1
Interview Currentaffairs Exam Engineering MCA MBA GD Placementpapers HR
Aptitude English Onlinetest Login PythonPart2

SiebelPart1

SiebelPart2

Fortran

Delphi

CGI
GlobalvariablesinPython
GlobalvariablesinPythonWecancreateaconfigfile&store Pascal
theentireglobalvariabletobesharedacrossmodulesorscript
WindowsProgramming
init.......
PassoptionalfromonefunctiontoanotherinPython
PassoptionalfromonefunctiontoanotherGatherthe
argumentsusingthe*and**specifiersinthefunction's
parameterlist.Thisgivesuspositionalargumentsasatuple
andthekeywordarguments.......
Indexingandslicingoperationinsequences
IndexingandslicingoperationinsequencesDifferenttypesof
sequencesinpythonarestrings,Unicodestrings,lists,tuples,
buffers,andxrangeobjects.......

Postyourcomment
DiscussionBoard
updatedefination
HelloSir,

Ithinkthefollowinglineisnotcorrect:
Dictionariesareindexedbykeys

Thanks,
Rajendra
Rajendra04202015
Dictionarydefinitionisconfusingandwrong
DearSirs

Youneedtoupdateyourdictionarydefinition.Currentlyitreads:

http://www.careerride.com/pythondictionary.aspx 2/3
24/02/2017 DictionaryinPython


Jobs ?Ask
"Dictionariesconsistofpairsofkeysandtheircorresponding
values"

Interview Currentaffairs Exam Engineering MCA MBA GD Placementpapers HR
Itshouldread"Dictionariesconsistofkey,valuepairs.
Aptitude English Onlinetest Login

Yourdefinitionreadsasiftherearepairsofkeyswhichis
incorrect.
RichardHess01212015

LatestMCQs
Generalawareness ASP.NET PL/SQL MechanicalEngineering
Banking
Java ProgrammingLanguage ElectricalEngineering
IASPrelimsGS
C++ SoftwareEngineering ElectronicEngineering
English
Oracle English Finance
QuantitativeAptitude

Home Aboutus Sitemap Contactus Termsofuse FollowusonFacebook!

Copyright2016.AllRightsReserved.

http://www.careerride.com/pythondictionary.aspx 3/3