{"id":39056,"date":"2016-11-23T08:25:58","date_gmt":"2016-11-23T14:25:58","guid":{"rendered":"http:\/\/a00344371.wordpress.com\/?p=309"},"modified":"2016-11-23T08:25:58","modified_gmt":"2016-11-23T14:25:58","slug":"strings-8","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/strings-8\/","title":{"rendered":"Strings"},"content":{"rendered":"<p class=\"syndicated-attribution\"><em> --Originally published at <a href=\"https:\/\/a00344371.wordpress.com\/2016\/11\/23\/strings\/\"><a href=\"https:\/\/a00344371.wordpress.com\">Programming Fundaments<\/a><\/a><\/em><br \/><\/p>\n<p>Strings are some of teh most popular types in python.\u00a0We can create them simply by enclosing characters in quotes (Note: double quotes are treated as single quotes)<\/p>\n<pre class=\"prettyprint notranslate prettyprinted\"><span class=\"pln\">var1 <\/span><span class=\"pun\">=<\/span> <span class=\"str\">'Hello World!'<\/span><span class=\"pln\">\nvar2 <\/span><span class=\"pun\">=<\/span> <span class=\"str\">\"Python Programming\"<\/span><\/pre>\n<p>You can also change or update these strings, to make small changes or to change it completly:<\/p>\n<pre class=\"prettyprint notranslate tryit prettyprinted\"><span class=\"pln\">var1 <\/span><span class=\"pun\">=<\/span> <span class=\"str\">'Hello World!'<\/span>\n\n<span class=\"kwd\">print<\/span> <span class=\"str\">\"Updated String :- \"<\/span><span class=\"pun\">,<\/span><span class=\"pln\"> var1<\/span><span class=\"pun\">[:<\/span><span class=\"lit\">6<\/span><span class=\"pun\">]<\/span> <span class=\"pun\">+<\/span> <span class=\"str\">'Python'<\/span><\/pre>\n<p>Resulting in:<\/p>\n<pre class=\"result notranslate\">Updated String :-  Hello Python<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p><br \/>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/a00344371.wordpress.com\/309\/\"><img alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/comments\/a00344371.wordpress.com\/309\/\" \/><\/a> <img alt=\"\" border=\"0\" src=\"https:\/\/pixel.wp.com\/b.gif?host=a00344371.wordpress.com&#038;blog=115285426&%23038;post=309&%23038;subd=a00344371&%23038;ref=&%23038;feed=1\" width=\"1\" height=\"1\" \/>","protected":false},"excerpt":{"rendered":"<p>&#8211;Originally published at Programming Fundaments Strings are some of teh most popular types in python.\u00a0We can create them simply by enclosing characters in quotes (Note: double quotes are treated as single quotes) var1 = &#8216;Hello World!&#8217; var2 = &#8220;Python Programming&#8221; You can also change or update these strings, to make small changes or to change &hellip; <a href=\"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/strings-8\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Strings<\/span><\/a><\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[37,24,33],"class_list":["post-39056","post","type-post","status-publish","format-standard","hentry","category-blogs","category-syndicated","tag-programming","tag-python","tag-tc101"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/39056","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\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/comments?post=39056"}],"version-history":[{"count":3,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/39056\/revisions"}],"predecessor-version":[{"id":42145,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/39056\/revisions\/42145"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/media?parent=39056"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/categories?post=39056"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/tags?post=39056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}