Frankie Posted January 8, 2021 Posted January 8, 2021 (edited) Edited January 8, 2021 by ImaneBhn mathildee 1 Quote
mathildee Posted January 8, 2021 Posted January 8, 2021 Salut ! Tu parles de poser les plots 2 sur python ? Comment t'as fait ? Je suis un peu bloquée... Dewey 1 Quote
Solution AlorsAlors Posted January 8, 2021 Solution Posted January 8, 2021 @mathildeesalut ! Voilà mon programme ! Peut être pas optimisé à 100% mais il marche from robot import * avancer() if fleurDevant(): tournerGauche() avancer() tournerDroite() avancer() else : avancer() semerGraine() tournerGauche() avancer() tournerDroite() for loop in range(6): avancer() if terreSurCase(): semerGraine() else : avancer() tournerDroite() avancer() semerGraine() avancer() Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.