Jump to content

J'invoque le dieu de l'informatique


Go to solution Solved by Sans-Visage,

Recommended Posts

Posted

J'ai besoin d'aide pour Espace 1 : boucles tant que en Blockly 4 étoiles

  Reveal hidden contents

 

  • Ancien du Bureau
  • Solution
Posted

from robot import *
tournerDroite()
while not obstacleDevant():
    while not obstacleDevant():
        avancer()
    tournerGauche()
tournerDroite()
tournerDroite()
avancer()

 

Je suis désolé je te l'envoie en python mais c'est plus simple pour copier/coller

Dis moi si t'as du mal à le passer en Blocky

 

P.S: celui-là n'est pas de moi, j'ai pas réussi seul ^^' 

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...