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":24915,"date":"2015-10-28T15:52:47","date_gmt":"2015-10-28T21:52:47","guid":{"rendered":"http:\/\/saldabal.wordpress.com\/?p=93"},"modified":"2015-10-28T15:52:47","modified_gmt":"2015-10-28T21:52:47","slug":"standard-deviation-2","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2015\/standard-deviation-2\/","title":{"rendered":"Standard deviation"},"content":{"rendered":"

To get this task done we had to make a programm in python that would ask the user for 10 numbers, then to save those numbers in a list. Those numbers had to be floating point. After we get that done, we had to print the total, the average and the standard deviation of those numbers. The trouble i found doing this is that i never heard of standard deviation and when i look for it, i kind of missunderstood the meaning. But i found an awesome page which you can go by clicking here<\/a>, that help understand what it it. I used two for loops and the math module.<\/p>\n

This is my code:<\/p>\n

#Jorge Fernando Salda\u00f1a Cabal
\n#A01350730
\nimport math
\ncount = 0.0
\nlista = []
\nfor i in range(10):
\nx = int(input(‘Introduce a number: ‘))
\ncount = count + x
\nlista.append(x)<\/p>\n

average = count\/10
\nprint(‘The sum of your numbers is: ‘, count)
\nprint()
\nprint(‘The average of your list of numbers is: ‘, average)
\nprint()
\nresdev = 0.0
\nfor i in range(10):
\ndev = average-lista[i]
\ndev = dev ** 2
\nresdev = resdev + dev
\nvarianza = resdev\/10<\/p>\n

deviation = math.sqrt(varianza)<\/p>\n

print(‘The deviation standard of your numbers is: ‘, deviation)<\/p>\n

Any comments feel free to comment.<\/p>\n

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

To get this task done we had to make a programm in python that would ask the user for 10 numbers, then to save those numbers in a list. Those numbers had to be floating point. After we get that… Continue Reading →<\/a>\"\"<\/p>\n","protected":false},"author":202,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[288,88],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/24915"}],"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\/202"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/comments?post=24915"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/24915\/revisions"}],"predecessor-version":[{"id":24916,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/24915\/revisions\/24916"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=24915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=24915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=24915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}