{"id":15,"date":"2021-09-13T17:15:29","date_gmt":"2021-09-13T15:15:29","guid":{"rendered":"http:\/\/yb-isn.fr\/2021\/nsi\/carla\/?p=15"},"modified":"2021-09-13T17:15:29","modified_gmt":"2021-09-13T15:15:29","slug":"2eme-lecon","status":"publish","type":"post","link":"http:\/\/yb-isn.fr\/2021\/nsi\/carla\/?p=15","title":{"rendered":"2eme le\u00e7on"},"content":{"rendered":"<p>Variable=\u00e9tiquette, change selon ce qu&rsquo;elle contient.<\/p>\n<p>Il y a 4 types de variables: int, float, bool, str.<\/p>\n<p><span style=\"background-color: var(--global--color-background);color: var(--global--color-primary);font-family: var(--global--font-secondary);font-size: revert\">Int: int\u00e9grer: stocker des nombres entiers.<\/span><\/p>\n<p>Float: floating numbers: stocker des nombres d\u00e9cimaux<\/p>\n<p>Bool: booleen: true or false<\/p>\n<p>Str: string:\u00a0 chaines de caract\u00e8re<\/p>\n<p>Booleen:<\/p>\n<p>== : a==b : a est il \u00e9gal a b?<\/p>\n<p>!= : a!=b : a est il diff\u00e9rent de b<\/p>\n<p>&lt; : a&lt;b: a est il strictement inf\u00e9rieur a b<\/p>\n<p>= : a&gt;=b : a est il strictement sup\u00e9rieur et \u00e9gal a b.<\/p>\n<p>Structure conditionnelle if<\/p>\n<p>if test:<\/p>\n<p>instruction(s)<\/p>\n<p>Test=reponse booleene, marche que si true<\/p>\n<p>else:<\/p>\n<p>autre(s) instruction(s)<\/p>\n<p>&#8211;&gt; if test1 :<\/p>\n<p>\u00ab\u00a0&#8230;&#8230;\u00a0\u00bb<\/p>\n<p>elif test2 :<\/p>\n<p>\u00ab\u00a0&#8230;&#8230;\u00a0\u00bb<\/p>\n<p>else:<\/p>\n<p>\u00ab\u00a0&#8230;&#8230;\u00a0\u00bb<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Variable=\u00e9tiquette, change selon ce qu&rsquo;elle contient. Il y a 4 types de variables: int, float, bool, str. Int: int\u00e9grer: stocker des nombres entiers. Float: floating numbers: stocker des nombres d\u00e9cimaux Bool: booleen: true or false Str: string:\u00a0 chaines de caract\u00e8re Booleen: == : a==b : a est il \u00e9gal a b? != : a!=b :&hellip; <a class=\"more-link\" href=\"http:\/\/yb-isn.fr\/2021\/nsi\/carla\/?p=15\">Poursuivre la lecture <span class=\"screen-reader-text\">2eme le\u00e7on<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/yb-isn.fr\/2021\/nsi\/carla\/index.php?rest_route=\/wp\/v2\/posts\/15"}],"collection":[{"href":"http:\/\/yb-isn.fr\/2021\/nsi\/carla\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/yb-isn.fr\/2021\/nsi\/carla\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/carla\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/carla\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15"}],"version-history":[{"count":2,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/carla\/index.php?rest_route=\/wp\/v2\/posts\/15\/revisions"}],"predecessor-version":[{"id":17,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/carla\/index.php?rest_route=\/wp\/v2\/posts\/15\/revisions\/17"}],"wp:attachment":[{"href":"http:\/\/yb-isn.fr\/2021\/nsi\/carla\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/carla\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/carla\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}