{"id":37159,"date":"2016-08-27T18:06:37","date_gmt":"2016-08-27T23:06:37","guid":{"rendered":"http:\/\/carolinasblogsite.wordpress.com\/?p=316"},"modified":"2016-08-27T18:06:37","modified_gmt":"2016-08-27T23:06:37","slug":"user-input-is-always-fun","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/user-input-is-always-fun\/","title":{"rendered":"User Input is always fun."},"content":{"rendered":"<p class=\"syndicated-attribution\"><em> --Originally published at <a href=\"https:\/\/carolinasblogsite.wordpress.com\/2016\/08\/27\/user-input-is-always-fun\/\"><a href=\"https:\/\/carolinasblogsite.wordpress.com\">Carolina&amp;#039;s Blog Site<\/a><\/a><\/em><br \/><\/p>\n<p>The input function allows the user to provide a <strong>prompt string<\/strong>. When the function is evaluated, the prompt is shown. The user of the program can enter the name and press <cite>return<\/cite>. But wait, there&#8217;s more&#8230;you should know\u00a0that the <code class=\"docutils literal\"><span class=\"pre\">input<\/span><\/code> function returns a string value. If you want to do some arithmetic with it, you need to\u00a0convert that string into an int or a float, using the <code class=\"docutils literal\"><span class=\"pre\">int<\/span><\/code> or <code class=\"docutils literal\"><span class=\"pre\">float<\/span><\/code> converter functions.<\/p>\n<p>SCREENSHOT.<\/p><br \/>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/carolinasblogsite.wordpress.com\/316\/\"><img alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/comments\/carolinasblogsite.wordpress.com\/316\/\" \/><\/a> <img alt=\"\" border=\"0\" src=\"https:\/\/pixel.wp.com\/b.gif?host=carolinasblogsite.wordpress.com&#038;blog=115369299&%23038;post=316&%23038;subd=carolinasblogsite&%23038;ref=&%23038;feed=1\" width=\"1\" height=\"1\" \/>","protected":false},"excerpt":{"rendered":"<p>&#8211;Originally published at Carolina&amp;#039;s Blog Site The input function allows the user to provide a prompt string. When the function is evaluated, the prompt is shown. The user of the program can enter the name and press return. But wait, there&#8217;s more&#8230;you should know\u00a0that the input function returns a string value. If you want to &hellip; <a href=\"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/user-input-is-always-fun\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">User Input is always fun.<\/span><\/a><\/p>\n","protected":false},"author":30,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[33],"class_list":["post-37159","post","type-post","status-publish","format-standard","hentry","category-blogs","category-syndicated","tag-tc101"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/37159","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\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/comments?post=37159"}],"version-history":[{"count":3,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/37159\/revisions"}],"predecessor-version":[{"id":37213,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/37159\/revisions\/37213"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/media?parent=37159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/categories?post=37159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/tags?post=37159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}