{"id":85,"date":"2018-10-31T01:44:16","date_gmt":"2018-10-31T01:44:16","guid":{"rendered":"http:\/\/www.astill.org\/wp\/?p=85"},"modified":"2018-10-31T01:44:16","modified_gmt":"2018-10-31T01:44:16","slug":"printing-in-python-2-7-versus-python-3","status":"publish","type":"post","link":"http:\/\/www.astill.org\/wp\/?p=85","title":{"rendered":"Printing in Python 2.7 versus Python 3"},"content":{"rendered":"<p>In Python 2, it is a special statement and Python 3, print is a function.<\/p>\n<p>Python<\/p>\n<p>print &#8220;tj&#8221;<\/p>\n<p>The output is<\/p>\n<p>tj<\/p>\n<p>Now in Python 3, you have to use parentheses and have quotation in side.<\/p>\n<p>An example of Python 3 is,<\/p>\n<p>print (&#8220;tj is awesome&#8221;)<\/p>\n<p>The output is ,<\/p>\n<p>tj is awesome<\/p>\n<p>&nbsp;<\/p>\n<p>Links to some more awesome information<\/p>\n<p>https:\/\/docs.python.org\/3\/whatsnew\/3.0.html<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Python 2, it is a special statement and Python 3, print is a function. Python print &#8220;tj&#8221; The output&hellip;<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-85","post","type-post","status-publish","format-standard","hentry","category-coding"],"_links":{"self":[{"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/85","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=85"}],"version-history":[{"count":1,"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/85\/revisions"}],"predecessor-version":[{"id":86,"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/85\/revisions\/86"}],"wp:attachment":[{"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}