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":29513,"date":"2016-04-07T00:46:39","date_gmt":"2016-04-07T05:46:39","guid":{"rendered":"http:\/\/andreatrejod.wordpress.com\/?p=142"},"modified":"2016-04-07T00:46:39","modified_gmt":"2016-04-07T05:46:39","slug":"wsq10-42","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2016\/wsq10-42\/","title":{"rendered":"#Wsq10"},"content":{"rendered":"

Well in this Wsq what we have to do is this:<\/p>\n

Create a program that asks the user for 10 numbers\u00a0 (floating point). Store those numbers in a list. Show to the user the total, average and standard deviation of those numbers.<\/p>\n

What?? standard deviation?? What the hell is that?? well, here’s the answer, this page<\/a>\u00a0was very helpful because it explains how the standard deviation works, and it gives you examples on how to do it, so you can apply those examples for the program.<\/p>\n

Well knowing that, now we can focus in the point of this wsq, which is put the 10 numbers given by the user, in lists, and return the sum, average and standard deviation of the 10 numbers. If you want to know a little bit more about lists you can consult this link, it has many many examples of lists, it’s a very long document, but you can read it if you’re interested: https:\/\/docs.python.org\/3\/tutorial\/datastructures.html<\/a><\/p>\n

But thanks to Danny<\/a>\u00a0and his link about lists, was easier to do this program, so thanks Danny.<\/p>\n

Well here’s the program and the screenshots of the terminal:<\/p>\n

\"#Wsq10\"<\/p>\n

You can notice that I used the module statistics which made this wsq so much easier, this module allow us to use statistics functions.<\/p>\n

Here’s the code on\u00a0GitHub<\/a><\/p>\n

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

Well in this Wsq what we have to do is this: Create a program that asks the user for 10 […]\"#Wsq10\"<\/p>\n","protected":false},"author":261,"featured_media":29511,"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\/29513"}],"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\/261"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/comments?post=29513"}],"version-history":[{"count":3,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/29513\/revisions"}],"predecessor-version":[{"id":30372,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/29513\/revisions\/30372"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media\/29511"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=29513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=29513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=29513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}