Jump to content

Poser des plots version 4 étoiles


Go to solution Solved by AlorsAlors,

Recommended Posts

  • Solution
Posted

@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()

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...