{"id":212,"date":"2023-03-13T03:38:19","date_gmt":"2023-03-13T03:38:19","guid":{"rendered":"https:\/\/joseph-t-gordon.tech\/?p=212"},"modified":"2023-06-26T14:22:21","modified_gmt":"2023-06-26T14:22:21","slug":"post-31-data-types-in-python","status":"publish","type":"post","link":"https:\/\/joseph-t-gordon.tech\/index.php\/2023\/03\/13\/post-31-data-types-in-python\/","title":{"rendered":"Post #31 (Python Programming) &#8211; Data types in Python"},"content":{"rendered":"\n<p>Today I&#8217;ve covered some of the data types in python I will just give each type and an example of what it might look like.<\/p>\n\n\n\n<p>Integer &#8211; 5<\/p>\n\n\n\n<p>Float &#8211; 5.3<\/p>\n\n\n\n<p>String &#8211; &#8220;Hello&#8221;<\/p>\n\n\n\n<p>Boolean(True or false) &#8211; True<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>You can also use an escape character to add quotes within a string<\/p>\n\n\n\n<p>Code: <\/p>\n\n\n\n<p>print(&#8220;\\&#8221;This is in quotations\\&#8221;&#8221;)<\/p>\n\n\n\n<p>Result:<\/p>\n\n\n\n<p>&#8220;This is in quotations&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I&#8217;ve covered some of the data types in python I will just give each type and an example of what it might look like. Integer &#8211; 5 Float &#8211; 5.3 String &#8211; &#8220;Hello&#8221; Boolean(True or false) &#8211; True You can also use an escape character to add quotes within a string Code: print(&#8220;\\&#8221;This is&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/posts\/212"}],"collection":[{"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/comments?post=212"}],"version-history":[{"count":2,"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/posts\/212\/revisions"}],"predecessor-version":[{"id":315,"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/posts\/212\/revisions\/315"}],"wp:attachment":[{"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/media?parent=212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/categories?post=212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/tags?post=212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}