So the quiz asks me to write a program that recieves two lists, and multiplies the first element of the first list times the first element of the second list and so on.<\/p>\n
So it was easy, I used two while loops to recieve the list the user gives, then a for loop to transform every value into integer, and then called the function.<\/p>\n
i buit up the function with a while changing a counter, which was also the one tjhat said the position in the list, to multiply the list.<\/p>\n
Code on Github<\/a><\/span><\/p>\n <\/p>\n <\/a> <\/p>\n","protected":false},"excerpt":{"rendered":" So the quiz asks me to write a program that recieves two lists, and multiplies the first element of the first list times the first element of the second list and so on. So it was easy, I used two while loops to recieve the … Continúa leyendo Quiz 08: Scalar multiplication<\/span><\/a><\/p>\n","protected":false},"author":191,"featured_media":23569,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[357,45,39],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23570"}],"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=23570"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23570\/revisions"}],"predecessor-version":[{"id":23571,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23570\/revisions\/23571"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media\/23569"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=23570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=23570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=23570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}