Properties of Dictionary Keys, Basic Computer Science

Dictionary values encompass no limitations. They can be any random Python object, moreover standard objects or user-defined objects. Though, same is not true for the keys.
There are two significant points to remember concerning dictionary keys:
(a) More than one entry per key not permitted. Which means no duplicate key is permitted. When duplicate keys occured during assignment, the last assignment wins.
(b) Keys must be unchallengeable. Which means you can use strings, numbers, or tuples as dictionary keys but something similar to [''key''] is not permitted.
Posted Date: 5/5/2012 4:29:15 AM | Location : United States







Related Discussions:- Properties of Dictionary Keys, Assignment Help, Ask Question on Properties of Dictionary Keys, Get Answer, Expert's Help, Properties of Dictionary Keys Discussions

Write discussion on Properties of Dictionary Keys
Your posts are moderated
Related Questions

what is charactersics of mobile computing

Operating Systems:  An operating system is a set of programs that manage computer hardware resources and provide common services for application software.  There are following kind

how to create 1000 random processes with time scales between 10 to 400 milliseconds

Question 1 Briefly explain the classification of the computers Question 2 What is arithmetic logic unit? How it is helpful in CPU? Question 3 How do you install a

write advantages and disadvantages of private and public network

PROBLEM SOLVING USING A COMPUTER The following steps are required for solving a problem using a computer system:     Problem Definition     Program Planning (Preparati

#formular for calculating speed up factor fo super scalar architecture, super pipeline architecture and VLIW with m different functional units.

The architecture of the x86 processors forces with the use of memory segments to direct the information, the size of these segments is of 64kb. The cause of being of these segments