Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/feed-rss2.php on line 8
‘#Master27’ Articles at Courses by Ken https://kenscourses.com/tc101winter2015 Facilitator of Learning Experiences Tue, 05 May 2015 21:48:32 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ Creation and use of dictionaries in Python https://kenscourses.com/tc101winter2015/2015/creation-and-use-of-dictionaries-in-python-2/ Tue, 05 May 2015 21:48:32 +0000 https://jorgepadilla95.withknown.com/2015/creation-and-use-of-dictionaries-in-python

Dictionaries are all about keys and values. Each key is separated from its value by a colon (:), the items are separated by commas, and the whole thing is enclosed in curly braces. An empty dictionary without any items is written with just two curly braces, like this: {}.

Keys are unique within a dictionary while values may not be. The values of a dictionary can be of any type, but the keys must be of an immutable data type such as strings, numbers, or tuples.

Here's a simple example of how to create dictionaries and how they run:

27

1014

Continue reading ]]>

Dictionaries are all about keys and values. Each key is separated from its value by a colon (:), the items are separated by commas, and the whole thing is enclosed in curly braces. An empty dictionary without any items is written with just two curly braces, like this: {}.

Keys are unique within a dictionary while values may not be. The values of a dictionary can be of any type, but the keys must be of an immutable data type such as strings, numbers, or tuples.

Here’s a simple example of how to create dictionaries and how they run:

27

1014

]]>
https://creativecommons.org/licenses/by/4.0/