Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":25037,"date":"2015-10-28T18:34:31","date_gmt":"2015-10-29T00:34:31","guid":{"rendered":"http:\/\/dragv.wordpress.com\/?p=104"},"modified":"2015-10-28T18:34:31","modified_gmt":"2015-10-29T00:34:31","slug":"mastery-9-basic-types-and-their-use-in-python","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2015\/mastery-9-basic-types-and-their-use-in-python\/","title":{"rendered":"Mastery 9 \u2013 Basic types and their use in Python"},"content":{"rendered":"

So…<\/p>\n

One really cool thing about Python is that it’s a really straight forward language. You can see many examples of this, like printing something, making a conditional, and other stuff. One does not need to go through too much trouble to wrap ones head around understanding how Python works. Another example is the topic of this post: Basic data types.<\/p>\n

Some basic data types in Python are:<\/p>\n

Integers:<\/strong> They’re simply whole numbers from negative infinity to infinity. Just numbers without decimals. Big, pretty, and whole numbers.<\/p>\n

Example: x = 4<\/p>\n

Float:<\/strong> Every rational number. This is cool because you can have decimals. It’s pretty neat if you ask me.<\/p>\n

Example: x = 4.2<\/p>\n

Stings:<\/strong> Stores character! It’s a set of letters, numbers or anything else, like punctuations.<\/p>\n

Example: x = “Neat”, x = ‘Neat’<\/p>\n

Tuples:<\/strong> It’s a list of fixed number of elements, it’s expressed with a parenthesis.<\/p>\n

Example: x = (2,3,4)<\/p>\n

Lists:<\/strong> Kind of like Tuples but the list doesn’t have a fixed number of elements, it’s expressed with square brackets. (I find lists really cool too by the way.)<\/p>\n

Example: x = [2,3,4]<\/p>\n

Dictionaries:<\/strong> It contains multiple elements.<\/p>\n

Example: x = {2:1}<\/p>\n

\"\"<\/a> \"\"<\/p>\n","protected":false},"excerpt":{"rendered":"

So… One really cool thing about Python is that it’s a really straight forward language. You can see many examples of this, like printing something, making a conditional, and other stuff. One does not need to go through too much trouble to wrap ones head around understanding how Python works. Another example is the topic […]\"\"<\/p>\n","protected":false},"author":194,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[46],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/25037"}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/users\/194"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/comments?post=25037"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/25037\/revisions"}],"predecessor-version":[{"id":25038,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/25037\/revisions\/25038"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=25037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=25037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=25037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}