matildartos Posted January 9, 2021 Share Posted January 9, 2021 Salut ! Je suis bloquée au niveau 4 étoiles de cet exercice de la semaine 2, surtout par rapport aux 22 blocs maximum enft, si jamais qlq a réussi je veux bien de l'aide Merci d'avance ! Quote Link to comment Share on other sites More sharing options...
Solution Mateo66 Posted January 10, 2021 Solution Share Posted January 10, 2021 (edited) Il faut reprendre ce que tu as fait dans les 2 exo précédents, en modifiant un peu. Tu avances sur la ligne et tu ramasses la bille, au retour tu la déposes dans le trou. et tu passes à la ligne du dessus. from robot import * for j in range(7): for i in range(12): est() if surBille(): ramasserBille() for k in range(12): ouest() if surTrou(): deposerBille() nord() as solution Edited January 10, 2021 by Mateo66 solution Emma06 1 Quote Link to comment Share on other sites More sharing options...
matildartos Posted January 10, 2021 Author Share Posted January 10, 2021 ok 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.