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":26839,"date":"2015-11-23T01:06:00","date_gmt":"2015-11-23T07:06:00","guid":{"rendered":"http:\/\/kenscourses.com\/tc101fall2015\/?guid=5a80c6e54fa32b16d2ff118cc6204ecf"},"modified":"2015-11-23T01:06:31","modified_gmt":"2015-11-23T07:06:31","slug":"lists-9","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2015\/lists-9\/","title":{"rendered":"Lists"},"content":{"rendered":"

<\/p>\n

       A list is a sequence of values that are nested into one function. These elements can be strings, number, and even lists. You can have many types of elements within the same list, for example:<\/o:p><\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n
Colors = [ \u2018red\u2019, \u2018blue\u2019, \u2019yellow\u2019 ]<\/o:p><\/span><\/span><\/div>\n
Numbers = [ 1, 2, 3 ]<\/o:p><\/span><\/span><\/div>\n
List = [ 4, [5, 6]]<\/o:p><\/span><\/span><\/div>\n
Other = [ \u2018red\u2019, 2, [5, 6] ]<\/span><\/o:p><\/span><\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n
      As you can see, for creating a list you need to establish the name on the list followed by an equal sign (which means \u2018assignment\u2019)<\/span><\/i>. After the equal sign you start naming the elements included in the list. These elements are nested inside square brackets<\/span> []<\/span><\/span> and separated by commas. If the element being established is a string, it needs to be between quotation marks.<\/o:p><\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n
      For printing the whole list you type the command<\/span> print()<\/span><\/span> and between the parenthesis you type the name of the list. For printing just one element of the list you type the command <\/span>print()<\/span> and between the parenthesis you type the name of the list followed by the number of the element between square brackets. <\/o:p><\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n
NOTE: The elements on a list are numbered starting from 0<\/b><\/o:p><\/span><\/span><\/div>\n

<\/b><\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n

<\/p>\n

      For knowing how many elements a list contains, you can use the command <\/span>len()<\/span>, between the parenthesis you type the name of the list.<\/span><\/span><\/div>\n
<\/div>\n
<\/span><\/a><\/div>\n
<\/div>\n
<\/span><\/a><\/div>\n
<\/div>\n
<\/div>\n

<\/p>\n

     Also, you can change an element on a list by typing the name of the list followed by position of the element you want to change between square brackets. After that, you place the equal sign followed by the element you want to replace it with.<\/span><\/span><\/div>\n

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

<\/p>\n

       A list is a sequence of values that are nested into one function. These elements can be strings, number, and even lists. You can have many types of elements within the same list, for example:<\/p>\n

<\/span><\/span><\/div>\n


<\/span><\/span><\/div>\n
Colors = [ ‘red’, ‘blue’, ’yellow’ ]<\/p>\n

<\/span><\/span><\/div>\n

Numbers = [ 1, 2, 3 ]<\/p>\n

<\/span><\/span><\/div>\n

List = [ 4, [5, 6]]<\/p>\n

<\/span><\/span><\/div>\n

Other = [ ‘red’, 2, [5, 6] ]<\/span><\/p>\n

<\/span><\/span><\/span><\/div>\n


<\/span><\/span><\/div>\n
      As you can see, for creating a list you need to establish the name on the list followed by an equal sign (which means ‘assignment’)<\/span><\/i>. After the equal sign you start naming the elements included in the list. These elements are nested inside square brackets<\/span> []<\/span><\/span> and separated by commas. If the element being established is a string, it needs to be between quotation marks.<\/p>\n

<\/span><\/span><\/div>\n


<\/span><\/span><\/div>\n
      For printing the whole list you type the command<\/span> print()<\/span><\/span> and between the parenthesis you type the name of the list. For printing just one element of the list you type the command <\/span>print()<\/span> and between the parenthesis you type the name of the list followed by the number of the element between square brackets. <\/p>\n

<\/span><\/span><\/div>\n


<\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n
NOTE: The elements on a list are numbered starting from 0<\/b><\/p>\n

<\/span><\/span><\/div>\n


<\/b><\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n

<\/p>\n

      For knowing how many elements a list contains, you can use the command <\/span>len()<\/span>, between the parenthesis you type the name of the list.<\/span><\/span><\/div>\n
<\/div>\n
<\/span><\/a><\/div>\n
<\/div>\n
<\/span><\/a><\/div>\n
<\/div>\n
<\/div>\n

<\/p>\n

     Also, you can change an element on a list by typing the name of the list followed by position of the element you want to change between square brackets. After that, you place the equal sign followed by the element you want to replace it with.<\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n
<\/div>\n
<\/span><\/a><\/div>\n
<\/div>\n
<\/span><\/a><\/div>\n
<\/div>\n","protected":false},"author":296,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[245],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/26839"}],"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\/296"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/comments?post=26839"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/26839\/revisions"}],"predecessor-version":[{"id":26840,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/26839\/revisions\/26840"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=26839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=26839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=26839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}