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":23576,"date":"2015-10-19T23:46:24","date_gmt":"2015-10-20T04:46:24","guid":{"rendered":"https:\/\/charliegdrummer.wordpress.com\/?p=119"},"modified":"2015-10-19T23:46:24","modified_gmt":"2015-10-20T04:46:24","slug":"quiz-07-a-good-time-to-think-2","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2015\/quiz-07-a-good-time-to-think-2\/","title":{"rendered":"Quiz 07: A good time to think"},"content":{"rendered":"

The quiz 07 was divided in two parts; the first asked for a program, with a function, that gives you tha distance between two points in coordinates x and y. It was easy, just had to use the pythagoream theorem, the one that says that, for a triangle with a pi angle, the result of the hypotenuse, opposite to the 90 degree angle, will be the square root of the sum of the square of the other two sides:<\/p>\n

hypotenuse = ( \u00a0(adjacent side)^2 \u00a0+ (opposite side)^2 \u00a0)^(1\/2)<\/p>\n

So it was easy, just substracted to the larger x and y coordinate to the lower, and do the pythagorean theorem:<\/p>\n

\"quiz<\/a><\/p>\n

github link<\/a><\/span><\/p>\n

The second part ask for a program, again with function, that tells the user the number in the position the user asked in the Fibonacci list. I had to think differently to reach the conclusion that the program can be solved as “moving” the first two variables and then addem, something like the number before the result is the result, and the number before the number before the result is the number before the result, then loop it the times the user inputs, and that’s it; BTW, the Fibonacci list is the numbers that represents:<\/p>\n

\"\"<\/p>\n

So here is the code:<\/p>\n

\"quiz<\/a><\/p>\n

github link<\/a><\/span><\/p>\n

BTW, I used notepad because my laptop was crashed by some evil person \ud83d\ude41<\/span><\/p>\n

I tested it in the Python shell in the webpage python.org<\/p>\n

\"\"<\/p>\n

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

The quiz 07 was divided in two parts; the first asked for a program, with a function, that gives you tha distance between two points in coordinates x and y. It was easy, just had to use the pythagoream theorem, the one that says that, … Continúa leyendo Quiz 07: A good time to think<\/span><\/a>\"\"<\/p>\n","protected":false},"author":191,"featured_media":23572,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[39],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23576"}],"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\/191"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/comments?post=23576"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23576\/revisions"}],"predecessor-version":[{"id":23577,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23576\/revisions\/23577"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media\/23572"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=23576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=23576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=23576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}