{"id":38046,"date":"2016-10-17T10:44:45","date_gmt":"2016-10-17T15:44:45","guid":{"rendered":"http:\/\/union20.wordpress.com\/?p=466"},"modified":"2016-10-17T10:44:45","modified_gmt":"2016-10-17T15:44:45","slug":"38046","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/38046\/","title":{"rendered":"[],(),{}"},"content":{"rendered":"<p class=\"syndicated-attribution\"><em> --Originally published at <a href=\"https:\/\/union20.wordpress.com\/2016\/10\/17\/466\/\"><a href=\"https:\/\/union20.wordpress.com\">Coding with jared<\/a><\/a><\/em><br \/><\/p>\n<p>What are lists, tuples and dictionaries in Python 3?<\/p>\n<p style=\"text-align:center;\"><span style=\"color:#339966;\"><em><strong>Lists:<\/strong><\/em><\/span><\/p>\n<p>Like we already know a list in python is a list of values, each value is numbered starting from 0, it is possible to modify these lists by adding or removing informaiton.<\/p>\n<h4><strong>You use this <span style=\"color:#339966;\">[]<\/span><\/strong><\/h4>\n<p><em>Students = [\u201cjuan\u201d,\u201dpedro\u201d,michael\u201d,\u201djackson\u201d]<\/em><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align:center;\"><span style=\"color:#3366ff;\"><em><strong>Tuples:<\/strong><\/em><\/span><\/p>\n<p>Pretty similar to lists, the only difference is that you can\u2019t add or remove values form it.<\/p>\n<p><strong>You use this <span style=\"color:#3366ff;\">()<\/span><\/strong><\/p>\n<p><em>meses\u00a0= (\u2018Enero\u2019,\u2019Febrero\u2019,\u2019Marzo\u2019,\u2019Abril\u2019,\u2019Mayo\u2019,\u2019Junio\u2019,\u2019Julio\u2019,\u2019Agosto\u2019,\u2019Septiembre\u2019,\u2019Octubre\u2019,\u2019Noviembre\u2019,\u2019Diciembre\u2019)<\/em><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align:center;\"><span style=\"color:#ff0000;\"><em><strong>Dictionaries:<\/strong><\/em><\/span><\/p>\n<p>A dictionary is also like a list but the difference is that you make variables and you give them a value or a definition.<\/p>\n<p>Name = key<\/p>\n<p>definition = value<\/p>\n<p>The keys and values that are put respectively aren&#8217;t numbered, you also can add, remove and even modify the values and keys from it.<\/p>\n<p><strong>You use this <span style=\"color:#ff0000;\">{}<\/span><\/strong><\/p>\n<p><em>oxxo = {\u2018gansito\u2019:8,\u2019sabritas\u2019:10,\u2019agua\u2019:9}<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>I learned all this on this page, check it out:\u00a0http:\/\/sthurlow.com\/python\/lesson06\/<\/p>\n<p>&nbsp;<\/p><br \/>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/union20.wordpress.com\/466\/\"><img alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/comments\/union20.wordpress.com\/466\/\" \/><\/a> <img alt=\"\" border=\"0\" src=\"https:\/\/pixel.wp.com\/b.gif?host=union20.wordpress.com&#038;blog=115237589&%23038;post=466&%23038;subd=union20&%23038;ref=&%23038;feed=1\" width=\"1\" height=\"1\" \/>","protected":false},"excerpt":{"rendered":"<p>&#8211;Originally published at Coding with jared What are lists, tuples and dictionaries in Python 3? Lists: Like we already know a list in python is a list of values, each value is numbered starting from 0, it is possible to modify these lists by adding or removing informaiton. You use this [] Students = [\u201cjuan\u201d,\u201dpedro\u201d,michael\u201d,\u201djackson\u201d] &hellip; <a href=\"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/38046\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">[],(),{}<\/span><\/a><\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[89,148,33],"class_list":["post-38046","post","type-post","status-publish","format-standard","hentry","category-blogs","category-syndicated","tag-python3","tag-learning","tag-tc101"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/38046","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\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/comments?post=38046"}],"version-history":[{"count":3,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/38046\/revisions"}],"predecessor-version":[{"id":42055,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/38046\/revisions\/42055"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/media?parent=38046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/categories?post=38046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/tags?post=38046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}