{"id":1933,"date":"2025-02-26T09:06:28","date_gmt":"2025-02-26T08:06:28","guid":{"rendered":"https:\/\/sti2tech.com\/?page_id=1933"},"modified":"2025-02-26T09:19:07","modified_gmt":"2025-02-26T08:19:07","slug":"snt-python-carre-danseur","status":"publish","type":"page","link":"https:\/\/sti2tech.com\/?page_id=1933","title":{"rendered":"SNT: Python: Carr\u00e9 danseur"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1933\" class=\"elementor elementor-1933\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5b6a978 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5b6a978\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2078281\" data-id=\"2078281\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4f7f30d elementor-widget elementor-widget-heading\" data-id=\"4f7f30d\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Activit\u00e9 Python : Le Carr\u00e9 Danseur<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c44d366 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c44d366\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-129c962\" data-id=\"129c962\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d5122f6 elementor-widget elementor-widget-text-editor\" data-id=\"d5122f6\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>Dur\u00e9e :<\/strong> 1 heure<\/p><p><strong>Objectifs :<\/strong> D\u00e9couvrir les fonctions en Python et dessiner une forme graphique qui bouge avec le module <code>turtle<\/code>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d485e9c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d485e9c\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ab112de\" data-id=\"ab112de\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5b806ec elementor-widget elementor-widget-heading\" data-id=\"5b806ec\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Pr\u00e9paration<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-058ae8f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"058ae8f\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d3ed586\" data-id=\"d3ed586\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f97b636 elementor-widget elementor-widget-text-editor\" data-id=\"f97b636\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Pour coder, utilisez <strong>Thonny<\/strong>, un environnement simple pour Python.<\/p><p><a href=\"https:\/\/thonny.org\/\" target=\"_blank\" rel=\"noopener\">T\u00e9l\u00e9chargez Thonny ici<\/a> (choisissez la version pour votre syst\u00e8me : Windows).<\/p><p>Note : Python est d\u00e9j\u00e0 inclus dans Thonny, vous n\u2019avez rien d\u2019autre \u00e0 installer !<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-201d172 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"201d172\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8c77940\" data-id=\"8c77940\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c4b93d0 elementor-widget elementor-widget-heading\" data-id=\"c4b93d0\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Mission : Faire danser un carr\u00e9<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7087aa8 elementor-widget elementor-widget-text-editor\" data-id=\"7087aa8\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Vous allez programmer une tortue qui dessine un carr\u00e9, puis le d\u00e9place sur l\u2019\u00e9cran en utilisant une <strong>fonction<\/strong> pour dessiner le carr\u00e9. Une fonction, c\u2019est comme une recette que vous pouvez r\u00e9utiliser !<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f3bc1a4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f3bc1a4\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-321ec8c\" data-id=\"321ec8c\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-a5cbbf6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a5cbbf6\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-cb961ec\" data-id=\"cb961ec\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-13abecd elementor-widget elementor-widget-text-editor\" data-id=\"13abecd\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3>\u00c9tapes<\/h3><ul><li><strong>D\u00e9couvrez turtle :<\/strong> Ouvrez Thonny, cr\u00e9ez un nouveau fichier et tapez ce code pour voir la tortue dessiner un carr\u00e9 :<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-b829f42\" data-id=\"b829f42\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d1b00b7 elementor-widget elementor-widget-image\" data-id=\"d1b00b7\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"300\" height=\"232\" src=\"https:\/\/sti2tech.com\/wp-content\/uploads\/2025\/02\/Capture-decran-2025-02-26-a-09.05.37-300x232.png\" class=\"attachment-medium size-medium wp-image-1937\" alt=\"\" srcset=\"https:\/\/sti2tech.com\/wp-content\/uploads\/2025\/02\/Capture-decran-2025-02-26-a-09.05.37-300x232.png 300w, https:\/\/sti2tech.com\/wp-content\/uploads\/2025\/02\/Capture-decran-2025-02-26-a-09.05.37.png 395w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4ffead7 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4ffead7\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f7bae6c\" data-id=\"f7bae6c\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-824ae35 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"824ae35\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-47ee64c\" data-id=\"47ee64c\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7365c03 elementor-widget elementor-widget-text-editor\" data-id=\"7365c03\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Testez-le ! Que fait chaque ligne ?<\/p><ul><li><strong>Cr\u00e9ez une fonction :<\/strong> Transformez le dessin du carr\u00e9 en une fonction appel\u00e9e <code>dessiner_carre<\/code>. Une fonction commence par <code>def<\/code>. Exemple :<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-c7fa3e1\" data-id=\"c7fa3e1\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5abaf11 elementor-widget elementor-widget-image\" data-id=\"5abaf11\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"300\" height=\"156\" src=\"https:\/\/sti2tech.com\/wp-content\/uploads\/2025\/02\/Capture-decran-2025-02-26-a-09.05.47-300x156.png\" class=\"attachment-medium size-medium wp-image-1936\" alt=\"\" srcset=\"https:\/\/sti2tech.com\/wp-content\/uploads\/2025\/02\/Capture-decran-2025-02-26-a-09.05.47-300x156.png 300w, https:\/\/sti2tech.com\/wp-content\/uploads\/2025\/02\/Capture-decran-2025-02-26-a-09.05.47.png 416w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-937277e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"937277e\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1648fbe\" data-id=\"1648fbe\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8c7822c elementor-widget elementor-widget-text-editor\" data-id=\"8c7822c\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li>Ajoutez cette fonction apr\u00e8s <code>t = turtle.Turtle()<\/code>, puis appelez-la avec <code>dessiner_carre()<\/code>.<\/li><li><strong>Faites bouger le carr\u00e9 :<\/strong> Utilisez une boucle pour d\u00e9placer la tortue et redessiner le carr\u00e9 plusieurs fois. Indices :<ul><li><code>t.penup()<\/code> : l\u00e8ve le stylo (pas de trace).<\/li><li><code>t.forward(20)<\/code> : avance sans dessiner.<\/li><li><code>t.pendown()<\/code> : repose le stylo pour dessiner.<\/li><\/ul>Essayez d\u2019ajouter \u00e7a apr\u00e8s le premier carr\u00e9 !<\/li><li><strong>Personnalisez :<\/strong> Changez la taille du carr\u00e9, la distance de d\u00e9placement ou la vitesse avec <code>t.speed(3)<\/code> (1 = lent, 10 = rapide).<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-39bf85d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"39bf85d\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-05c4957\" data-id=\"05c4957\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3a093dd elementor-widget elementor-widget-heading\" data-id=\"3a093dd\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Exemple final (\u00e0 explorer apr\u00e8s avoir essay\u00e9)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-70c2512 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"70c2512\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d839806\" data-id=\"d839806\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-fb64f90 elementor-widget elementor-widget-image\" data-id=\"fb64f90\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"768\" height=\"723\" src=\"https:\/\/sti2tech.com\/wp-content\/uploads\/2025\/02\/Capture-decran-2025-02-26-a-09.06.18-768x723.png\" class=\"attachment-medium_large size-medium_large wp-image-1935\" alt=\"\" srcset=\"https:\/\/sti2tech.com\/wp-content\/uploads\/2025\/02\/Capture-decran-2025-02-26-a-09.06.18-768x723.png 768w, https:\/\/sti2tech.com\/wp-content\/uploads\/2025\/02\/Capture-decran-2025-02-26-a-09.06.18-300x283.png 300w, https:\/\/sti2tech.com\/wp-content\/uploads\/2025\/02\/Capture-decran-2025-02-26-a-09.06.18.png 948w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-cd8178f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"cd8178f\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-262431b\" data-id=\"262431b\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9668fe4 elementor-widget elementor-widget-heading\" data-id=\"9668fe4\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Personnaliser le programme<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ac06bb1 elementor-widget elementor-widget-text-editor\" data-id=\"ac06bb1\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"bonus\"><p>Des id\u00e9es pour personnaliser votre programme :<\/p><ul><li><strong>Couleurs :<\/strong> Ajoutez <code>t.pencolor(\"red\")<\/code> (ou \u00ab\u00a0blue\u00a0\u00bb, \u00ab\u00a0green\u00a0\u00bb) dans la fonction <code>dessiner_carre<\/code>. Changez la couleur \u00e0 chaque d\u00e9placement avec une condition (ex. <code>if i % 2 == 0<\/code>).<\/li><li><strong>Autres formes :<\/strong> Modifiez <code>dessiner_carre<\/code> pour dessiner un triangle (3 c\u00f4t\u00e9s, <code>t.left(120)<\/code>) ou une \u00e9toile (5 pointes, <code>t.left(144)<\/code>).<\/li><li><strong>Rotation :<\/strong> Avant chaque nouveau carr\u00e9, ajoutez <code>t.left(15)<\/code> pour le faire tourner un peu.<\/li><li><strong>Retour en arri\u00e8re :<\/strong> Faites le carr\u00e9 revenir \u00e0 gauche apr\u00e8s \u00eatre all\u00e9 \u00e0 droite (utilisez <code>t.backward(20)<\/code> dans une nouvelle boucle).<\/li><li><strong>Taille croissante :<\/strong> Cr\u00e9ez une variable <code>taille = 50<\/code> dans la fonction, et augmentez-la \u00e0 chaque appel (ex. <code>taille += 10<\/code>).<\/li><\/ul><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8ea2bf0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8ea2bf0\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5de6d6a\" data-id=\"5de6d6a\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-469d2d1 elementor-widget elementor-widget-text-editor\" data-id=\"469d2d1\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2>Ressources utiles (en fran\u00e7ais)<\/h2><div class=\"ressource\"><p><a href=\"https:\/\/docs.python.org\/fr\/3\/library\/turtle.html\" target=\"_blank\" rel=\"noopener\">Documentation officielle de turtle (en fran\u00e7ais)<\/a> : Toutes les commandes expliqu\u00e9es.<\/p><p><a href=\"https:\/\/openclassrooms.com\/fr\/courses\/235344-apprenez-a-programmer-en-python\/230729-la-programmation-graphique-avec-turtle\" target=\"_blank\" rel=\"noopener\">Tutoriel OpenClassrooms sur turtle<\/a> : Un guide simple pour d\u00e9buter.<\/p><p><a href=\"https:\/\/www.pythontutor.com\/visualize.html\" target=\"_blank\" rel=\"noopener\">Python Tutor<\/a> : Visualisez votre code pas \u00e0 pas si vous \u00eates bloqu\u00e9s.<\/p><\/div><h2>\u00c0 vous de jouer !<\/h2><p>Cr\u00e9ez votre programme dans Thonny, testez-le et montrez votre carr\u00e9 danseur \u00e0 vos camarades. Qui fera le plus beau d\u00e9placement ou figure g\u00e9om\u00e9trique ? Quand vous aurez fini, compl\u00e9ter le <a href=\"https:\/\/docs.google.com\/forms\/d\/e\/1FAIpQLSeleNhPoJui2xnae_ZPZExLVqz5iu6uovjg0vI0NVROAembLA\/viewform?usp=header\" target=\"_blank\" rel=\"noopener\">google form<\/a> avec votre programme comment\u00e9.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Activit\u00e9 Python : Le Carr\u00e9 Danseur Dur\u00e9e : 1 heure Objectifs : D\u00e9couvrir les fonctions en Python et dessiner une forme graphique qui bouge avec le module turtle. Pr\u00e9paration Pour coder, utilisez Thonny, un environnement simple pour Python. T\u00e9l\u00e9chargez Thonny ici (choisissez la version pour votre syst\u00e8me : Windows). Note : Python est d\u00e9j\u00e0 inclus&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_kad_post_transparent":"","_kad_post_title":"hide","_kad_post_layout":"fullwidth","_kad_post_sidebar_id":"","_kad_post_content_style":"unboxed","_kad_post_vertical_padding":"hide","_kad_post_feature":"hide","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"folder":[],"class_list":["post-1933","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sti2tech.com\/index.php?rest_route=\/wp\/v2\/pages\/1933","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sti2tech.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sti2tech.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sti2tech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sti2tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1933"}],"version-history":[{"count":11,"href":"https:\/\/sti2tech.com\/index.php?rest_route=\/wp\/v2\/pages\/1933\/revisions"}],"predecessor-version":[{"id":1947,"href":"https:\/\/sti2tech.com\/index.php?rest_route=\/wp\/v2\/pages\/1933\/revisions\/1947"}],"wp:attachment":[{"href":"https:\/\/sti2tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1933"}],"wp:term":[{"taxonomy":"folder","embeddable":true,"href":"https:\/\/sti2tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ffolder&post=1933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}