Articles
Register
Sign In
Search
urbibrun
@urbibrun
April 2022
0
84
Report
bonjour
Je dois corriger ça j'ai pas le temps merci d'avance
Please enter comments
Please enter your name.
Please enter the correct email address.
Agree to
terms and service
You must agree before submitting.
Send
More Questions From This User
See All
urbibrun
July 2022 | 0 Respostas
Responda
urbibrun
June 2022 | 0 Respostas
Bonjour, suis-je ce que je peux dire de moi ? Merci
Responda
urbibrun
June 2021 | 0 Respostas
Bonjour qqn pourrait m'aider pour mon dm svp
Responda
urbibrun
February 2021 | 0 Respostas
Salut ! Donc ! je dois reproduire ce dessin via python en utilisant turtle. On a ces deux script pour aider : import turtle ecran = turtle.Screen() tortue = turtle.Turtle() ecran.title('Turtle et liste Version 2') lstTurtle = [['color',['red','yellow']],['begin_fill',None],['fd',200],['lt',90], ['fd',200],['lt',90],['fd',200],['lt',90],['fd',200], ['end_fill',None],['up',None],['goto',(210,210)],['down',None], ['color',['yellow','red']],['begin_fill',None],['rt',180], ['fd',100],['rt',90],['fd',100],['rt',90],['fd',100],['rt',90], ['fd',100],['end_fill',None]] for ele in lstTurtle: cmd = ele[0] x = ele[1] if cmd == 'fd': tortue.fd(x) elif cmd == 'bk': tortue.bk(x) elif cmd == 'lt': tortue.lt(x) elif cmd == 'rt': tortue.rt(x) elif cmd == 'up': tortue.up() elif cmd == 'down': tortue.down() elif cmd == 'goto': tortue.goto(x) elif cmd == 'begin_fill': tortue.begin_fill() elif cmd == 'end_fill': tortue.end_fill() elif cmd == 'color': tortue.color(x[0],x[1]) turtle.done() turtle.bye() ----- import turtle #* \label{script1:import} ecran = turtle.Screen() #* \label{script1:ecran} tortue = turtle.Turtle() #* \label{script1:tortue} ecran.title('Turtle et liste Version 1')#* \label{script1:title} lstTurtle = [['color',['red','yellow']],['begin_fill',None],['fd',200],['lt',90], ['fd',200],['lt',90],['fd',200],['lt',90],['fd',200],['end_fill',None]] for ele in lstTurtle: cmd = ele[0] x = ele[1] if cmd == 'fd': tortue.fd(x) elif cmd == 'lt': tortue.lt(x) elif cmd == 'begin_fill': tortue.begin_fill() elif cmd == 'end_fill': tortue.end_fill() elif cmd == 'color': tortue.color(x[0],x[1]) turtle.done() turtle.bye()
Responda
urbibrun
February 2021 | 0 Respostas
Responda
urbibrun
February 2021 | 0 Respostas
Responda
urbibrun
February 2021 | 0 Respostas
Responda
Recomendar perguntas
francesco77
November 2022 | 0 Respostas
emelyankova8
November 2022 | 0 Respostas
ayarimfahim
November 2022 | 0 Respostas
cindy7823
November 2022 | 0 Respostas
user0629108
November 2022 | 0 Respostas
sarah12270292
November 2022 | 0 Respostas
ilyesselazar
November 2022 | 0 Respostas
sulyvan17
October 2022 | 0 Respostas
marocina06
October 2022 | 0 Respostas
legallcandice56
October 2022 | 0 Respostas
×
Report "bonjour Je dois corriger ça j'ai pas le temps merci d'avance .... Pergunta de ideia de urbibrun"
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
Helpful Links
Sobre nós
Política de Privacidade
Termos e Condições
direito autoral
Contate-Nos
Helpful Social
Get monthly updates
Submit
Copyright © 2024 ELIBRARY.TIPS - All rights reserved.