Frankie Posted January 8, 2021 Share Posted January 8, 2021 (edited) Edited January 8, 2021 by ImaneBhn mathildee 1 Quote Link to comment Share on other sites More sharing options...
Frankie Posted January 8, 2021 Author Share Posted January 8, 2021 J'ai réussi c'est bonn Quote Link to comment Share on other sites More sharing options...
mathildee Posted January 8, 2021 Share 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 Link to comment Share on other sites More sharing options...
Solution AlorsAlors Posted January 8, 2021 Solution Share 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 Link to comment Share on other sites More sharing options...
mathildee Posted January 8, 2021 Share Posted January 8, 2021 @AlorsMayot Merci beaucoup ! Quote Link to comment Share on other sites More sharing options...
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.