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
‘#38761d’ Articles at Courses by Ken https://kenscourses.com/tc101winter2015 Facilitator of Learning Experiences Thu, 30 Apr 2015 14:11:23 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ Basic types and their use in Python https://kenscourses.com/tc101winter2015/2015/basic-types-and-their-use-in-python-3/ Thu, 30 Apr 2015 14:11:23 +0000 https://digiart.withknown.com/2015/basic-types-and-their-use-in-python Continue reading ]]>

                                                                                                                       @PablO_CVi

Types are a category for things within Python with which Python will work. Types are:

 

integers 
Whole numbers from negative infinity to infinity, such as 1, 0, -5, etc.
float 
Short for “floating point number,” any rational number, usually used with decimals such as 2.8 or 3.14159.
strings 
A set of letters, numbers, or other characters.
tuples 
A list with a fixed number of elements. ie x=(1,2,3) parentheses makes it a tuple.
lists 
A list without a fixed number of elements. ie x=[1,2,3] note the square brackets, a list
dictionaries 
A type with multiple elements i.e. x = {1: ‘a’,’b’: 2,3: 3} where you address the elements with, e.g., a text..

Taken from: http://en.wikiversity.org/wiki/Python/Basic_data_types

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