{"id":118,"date":"2022-11-25T09:53:07","date_gmt":"2022-11-25T08:53:07","guid":{"rendered":"http:\/\/yb-isn.fr\/2022\/nsi\/garthur\/?p=118"},"modified":"2022-11-27T16:01:26","modified_gmt":"2022-11-27T15:01:26","slug":"collection-dobjets-en-python-%f0%9f%90%8d","status":"publish","type":"post","link":"https:\/\/yb-isn.fr\/2022\/nsi\/garthur\/2022\/11\/25\/collection-dobjets-en-python-%f0%9f%90%8d\/","title":{"rendered":"Collection d&rsquo;objets en python \ud83d\udc0d :"},"content":{"rendered":"<ul>\n<li>\n<h4><strong><span style=\"text-decoration: underline\">Travail pr\u00e9liminaire :<\/span><\/strong><\/h4>\n<\/li>\n<\/ul>\n<p>Il fallait \u00e9crire un programme permettant de traduire un jour de la semaine en anglais en fran\u00e7ais.<\/p>\n<p>On pourrais le modifier pour demander si on veut traduire de fran\u00e7ais&gt;anglais ou de anglais&gt;fran\u00e7ais.<\/p>\n\n\n<div class=\"wp-container-1 is-content-justification-center wp-block-buttons\">\n<div class=\"wp-block-button has-custom-font-size is-style-outline has-medium-font-size\"><a class=\"wp-block-button__link has-black-color has-text-color has-background\" href=\"https:\/\/colab.research.google.com\/drive\/1X_91R76ZADeArE3y8-51PfhSoXvndnhm?usp=sharing\" style=\"border-radius:25px;background:linear-gradient(135deg,rgb(47,120,255) 23%,rgb(148,187,255) 57%,rgb(192,209,251) 92%)\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Travail pr\u00e9liminaire<\/strong><\/a><\/div>\n<\/div>\n\n\n<ul>\n<li>\n<h4><strong><span style=\"text-decoration: underline\">Travail pr\u00e9liminaire fait avec dictionnaire :<\/span><\/strong><\/h4>\n<\/li>\n<\/ul>\n<p>A quoi sert un dictionnaire en python ?\u00a0<\/p>\n<p>Cela est un collection d&rsquo;objets non ordonn\u00e9s qui\u00a0 associe une cl\u00e9 \u00e0 une valeur<\/p>\n<p><\/p>\n\n\n<div class=\"wp-container-2 is-content-justification-center wp-block-buttons\">\n<div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-black-color has-text-color has-background\" href=\"https:\/\/colab.research.google.com\/drive\/1gaPJgQ7ITnRrfg2WJWug-v-Qkedlzxjo?usp=sharing\" style=\"border-radius:25px;background:linear-gradient(135deg,rgb(63,130,255) 0%,rgb(175,195,247) 61%)\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Travail pr\u00e9liminaire avec dictionnaire<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\" \/>\n\n\n\n<figure class=\"wp-block-table alignwide is-style-regular has-medium-font-size\"><table class=\"has-background has-background-border-color has-border-color has-fixed-layout\" style=\"background:linear-gradient(135deg,rgb(32,92,245) 0%,rgb(224,224,224) 100%);border-width:2px\"><tbody><tr><td>Collection d&rsquo;objets :<\/td><td>Modifiable ?<\/td><td>Autorise les membres en double ?<\/td><td>Index\u00e9 ?<\/td><td>Avantages et inconv\u00e9nients <\/td><\/tr><tr><td>Liste<\/td><td>oui<\/td><td>oui<\/td><td>oui<\/td><td>peut \u00eatre modifier, donn\u00e9es index\u00e9es et doublon possible.<\/td><\/tr><tr><td>Tuple<\/td><td>non<\/td><td>oui <\/td><td>oui<\/td><td>doublon autoris\u00e9, plusieurs type de donn\u00e9es<\/td><\/tr><tr><td>Dictionnaire<\/td><td>oui<\/td><td>non<\/td><td>non<\/td><td>On peut mettre plusieurs types de donn\u00e9es\/pas de doublon<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Travail pr\u00e9liminaire : Il fallait \u00e9crire un programme permettant de traduire un jour de la semaine en anglais en fran\u00e7ais. On pourrais le modifier pour demander si on veut traduire de fran\u00e7ais&gt;anglais ou de anglais&gt;fran\u00e7ais. Travail pr\u00e9liminaire fait avec dictionnaire : A quoi sert un dictionnaire en python ?\u00a0 Cela [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/yb-isn.fr\/2022\/nsi\/garthur\/wp-json\/wp\/v2\/posts\/118"}],"collection":[{"href":"https:\/\/yb-isn.fr\/2022\/nsi\/garthur\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yb-isn.fr\/2022\/nsi\/garthur\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yb-isn.fr\/2022\/nsi\/garthur\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/yb-isn.fr\/2022\/nsi\/garthur\/wp-json\/wp\/v2\/comments?post=118"}],"version-history":[{"count":8,"href":"https:\/\/yb-isn.fr\/2022\/nsi\/garthur\/wp-json\/wp\/v2\/posts\/118\/revisions"}],"predecessor-version":[{"id":155,"href":"https:\/\/yb-isn.fr\/2022\/nsi\/garthur\/wp-json\/wp\/v2\/posts\/118\/revisions\/155"}],"wp:attachment":[{"href":"https:\/\/yb-isn.fr\/2022\/nsi\/garthur\/wp-json\/wp\/v2\/media?parent=118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yb-isn.fr\/2022\/nsi\/garthur\/wp-json\/wp\/v2\/categories?post=118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yb-isn.fr\/2022\/nsi\/garthur\/wp-json\/wp\/v2\/tags?post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}