{"id":36953,"date":"2016-08-22T09:02:16","date_gmt":"2016-08-22T14:02:16","guid":{"rendered":"http:\/\/hectormtzblog.wordpress.com\/?p=14"},"modified":"2016-08-22T09:02:16","modified_gmt":"2016-08-22T14:02:16","slug":"comments-in-python","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/comments-in-python\/","title":{"rendered":"Comments in python"},"content":{"rendered":"<p class=\"syndicated-attribution\"><em> --Originally published at <a href=\"https:\/\/hectormtzblog.wordpress.com\/2016\/08\/22\/comments-in-python\/\"><a href=\"https:\/\/hectormtzblog.wordpress.com\">Hector Martinez Alcantara<\/a><\/a><\/em><br \/><\/p>\n<pre>#This is a comment in python 3\nprint('Program of a comment') #here can be a comment too\n'''\nthis is a multi line comment\nyes, here too\nand another line of comment\nfinal line of comment\n'''<\/pre>\n<p>A comment is an annotation about everything you want it to be, this code won&#8217;t affect the program at all, its only to be seen in the code, not in the result of it.<\/p>\n<p>The result of the code above will be the next<\/p>\n<pre>Program of a comment<\/pre>\n<p>Like you can see at the top, a comment can be a single\u00a0line, a line after a code, and a multi-line comment. To do a single line or a line after a code you have to type a hash &#8216;#&#8217;, after the hash in the line, everything will be a comment. To do a multi-line comment you tipe three single or double quotes like\u00a0<strong><em>&#8221;&#8217;<\/em><\/strong>\u00a0 or <em><strong>&#8220;&#8221;&#8221;<\/strong><\/em>\u00a0and then everything will be a comment, until you type another time triple quotes.<\/p>\n<p>Credits to \u00a0<a href=\"http:\/\/lineadecodigo.com\/python\/comentarios-en-python\/\" >Comentarios en python &#8211; Linea de c\u00f3digo<\/a><\/p>\n<p>#Python3 #LearningANewLanguage #tc101<\/p><br \/>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/hectormtzblog.wordpress.com\/14\/\"><img alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/comments\/hectormtzblog.wordpress.com\/14\/\" \/><\/a> <img alt=\"\" border=\"0\" src=\"https:\/\/pixel.wp.com\/b.gif?host=hectormtzblog.wordpress.com&#038;blog=115238241&%23038;post=14&%23038;subd=hectormtzblog&%23038;ref=&%23038;feed=1\" width=\"1\" height=\"1\" \/>","protected":false},"excerpt":{"rendered":"<p>&#8211;Originally published at Hector Martinez Alcantara #This is a comment in python 3 print(&#8216;Program of a comment&#8217;) #here can be a comment too &#8221;&#8217; this is a multi line comment yes, here too and another line of comment final line of comment &#8221;&#8217; A comment is an annotation about everything you want it to be, &hellip; <a href=\"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/comments-in-python\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Comments in python<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[88,89,26,33],"class_list":["post-36953","post","type-post","status-publish","format-standard","hentry","category-blogs","category-syndicated","tag-learninganewlanguage","tag-python3","tag-sin-categoria","tag-tc101"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/36953","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/comments?post=36953"}],"version-history":[{"count":2,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/36953\/revisions"}],"predecessor-version":[{"id":37090,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/36953\/revisions\/37090"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/media?parent=36953"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/categories?post=36953"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/tags?post=36953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}