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":27471,"date":"2015-11-24T22:04:59","date_gmt":"2015-11-25T04:04:59","guid":{"rendered":"http:\/\/opezaimd.tumblr.com\/post\/133906465560"},"modified":"2015-11-24T22:04:59","modified_gmt":"2015-11-25T04:04:59","slug":"matery-22","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2015\/matery-22\/","title":{"rendered":"Matery 22"},"content":{"rendered":"

On this mastery I\u2019ll show you when to use what type of repetition in a program.\u00a0<\/p>\n

For the purpose of this mastery, we\u2019ll focus on while <\/b>and for <\/b>loops because they are the easiest and most used ones.<\/p>\n

On mastery 19<\/a>\u00a0<\/b>we learned how to use a while loop. The while loop consists of something that will happen WHILE a condition is given. For example: WHILE x is greater or equal than 0, something will happen, and this process will continue to happen WHILE this condition is true.<\/p>\n

On mastery 20<\/a>\u00a0<\/b>we learned how to use a for loop.<\/p>\n

A FOR loop is a type of loop which allows you to give specific conditions to it, and then repeat when this conditions are true. <\/p>\n

<\/p>\n

Now, while and for may be seem like they are the same, but they certainly ain\u2019t. The main difference between them is that FOR loops will continue happening for a given number of iterations.\u00a0<\/p>\n

<\/figure>\n

As you may recall, functions <\/b><\/a>often use a for loop because of the iteration part. In someway, FOR loops are\u00a0\u201cbetter\u201d when dealing with functions, while WHILE loops are great to work with inside main().<\/p>\n

Picture and more information from this webpage<\/b><\/a>.<\/p>\n

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

On this mastery I’ll show you when to use what type of repetition in a program. <\/p>\n

For the purpose of this mastery, we’ll focus on while <\/b>and for <\/b>loops because they are the easiest and most used ones.<\/p>\n

On mastery 19<\/a> <\/b>we learned how to use a while loop. The while loop consists of something that will happen WHILE a condition is given. For example: WHILE x is greater or equal than 0, something will happen, and this process will continue to happen WHILE this condition is true.<\/p>\n

On mastery 20<\/a> <\/b>we learned how to use a for loop.<\/p>\n

A FOR loop is a type of loop which allows you to give specific conditions to it, and then repeat when this conditions are true. <\/p>\n

<\/p>\n

Now, while and for may be seem like they are the same, but they certainly ain’t. The main difference between them is that FOR loops will continue happening for a given number of iterations. <\/p>\n

<\/figure>\n

As you may recall, functions <\/b><\/a>often use a for loop because of the iteration part. In someway, FOR loops are “better” when dealing with functions, while WHILE loops are great to work with inside main().<\/p>\n

Picture and more information from this webpage<\/b><\/a>.<\/p>\n

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