{"id":30377,"date":"2016-02-08T12:45:22","date_gmt":"2016-02-08T18:45:22","guid":{"rendered":"http:\/\/esenombredeusua.wordpress.com\/?p=191"},"modified":"2016-02-08T12:53:19","modified_gmt":"2016-02-08T18:53:19","slug":"wsq03-fahn-with-numbers","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2016\/2016\/02\/wsq03-fahn-with-numbers\/","title":{"rendered":"WSQ03-Fahn with numbers"},"content":{"rendered":"<p>In today&#8217;s post we&#8217;re having <em>fahn<\/em> with numbers. We&#8217;re back on our elementary school days, learning how to sum, subtract, multiply, divide, get the division&#8217;s remainder, etc., we know our stuff when coming \u00a0to this, right? But what about python?&#8230; Well, doing arithmetical operations in python is much more easy, just learn how to ask for it and python will do it for you :<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-208\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/48608ce8dda0b2a20c40756a8e01a762.jpg\" alt=\"Screen Shot 2016-02-08 at 12.26.42 PM\"   \/><\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>There, we&#8217;re making a sum, right? but wait!<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-215\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/f9e6098070b136c448bdc43528f28442.jpg\" alt=\"Screen Shot 2016-02-08 at 12.32.24 PM\"   \/><\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>Our program doesn&#8217;t do anything at all&#8230; Well, duh, we&#8217;re not printing anything, so this should do it :<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>Editor :<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-208\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/48608ce8dda0b2a20c40756a8e01a762.jpg\" alt=\"Screen Shot 2016-02-08 at 12.26.42 PM\"   \/><\/p>\n<p>Terminal :<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-222\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/b89489693d781b63378f7a0577823691.jpg#038;h=54\" alt=\"Screen Shot 2016-02-08 at 12.40.11 PM.png\" width=\"682\" height=\"54\" \/><\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>Yeah, there. 2 + 1 = 3, that&#8217;s right&#8230; right?&#8230; google cal&#8230; 2 + 1&#8230; yep, that&#8217;s 3. Great, so that&#8217;s how it&#8217;s done. now lets try all the other operations:<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>&nbsp;<\/p>\n<p>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/esenombredeusua.wordpress.com\/191\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/78b369f6b9414e00ed85235b05bc8232.jpg\" \/><\/a> <img loading=\"lazy\" decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/00278e44897767ef9cd0981d792323fb.jpg#038;blog=105323064&#038;%23038;post=191&#038;%23038;subd=esenombredeusua&#038;%23038;ref=&#038;%23038;feed=1\" width=\"1\" height=\"1\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In today&#8217;s post we&#8217;re having fahn with numbers. We&#8217;re back on our elementary school days, learning how to sum, subtract, multiply, divide, get the division&#8217;s remainder, etc., we know our stuff when coming \u00a0to this, right? But what about python?&#8230; Well, doing arithmetical operations in python is much more easy, just learn how to ask &hellip; <a href=\"https:\/\/kenscourses.com\/tc101winter2016\/2016\/02\/wsq03-fahn-with-numbers\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">WSQ03-Fahn with numbers<\/span><\/a><\/p>\n","protected":false},"author":65,"featured_media":30378,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[73],"class_list":["post-30377","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-wsq03"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/30377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/comments?post=30377"}],"version-history":[{"count":6,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/30377\/revisions"}],"predecessor-version":[{"id":30388,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/30377\/revisions\/30388"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media\/30378"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media?parent=30377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/categories?post=30377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/tags?post=30377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}