No student devices needed. Know more
12 questions
EN QUE SITUACIÓN DE LA PROGRAMACIÓN USARÍAS EL CÓDIGO:
seth ()
PARA DIRECCIONAR LA TORTUGA POR ÁNGULOS
PARA DIBUJAR UNA LINEA A LA DERECHA E IZQUIERDA
PARA DIBUJAR UNA LINEA SIN RASTRO
EN QUE SITUACIÓN DE LA PROGRAMACIÓN USARÍAS EL CÓDIGO:
penup ()
PARA DIRECCIONAR LA TORTUGA HACIA LA IZQUIERDA
PARA QUE LA TORTUGA AL RECIBIR INSTRUCCIONES NO DIBUJE UNA LINEA
PARA DIBUJAR UNA LINEA ACENTUADA EN EL PLANO CARTESIANO
EN QUE SITUACIÓN DE LA PROGRAMACIÓN USARÍAS EL CÓDIGO:
pendown ()
PARA QUE LA TORTUGA DIBUJE CON LINEA PUNTEADA SU MOVIMIENTO
PARA DIRECCIONAR LA TORTUGA HACIA LA DERECHA
PARA QUE LA TORTUGA VUELVA A DIBUJAR LINEAS DE TRAZO
EN QUE SITUACIÓN DE LA PROGRAMACIÓN USARÍAS EL CÓDIGO:
forward ()
PARA QUE LA TORTUGA REALICE UN MOVIMIENTO LINEAL AL MISMO TIEMPO QUE DIBUJA EL TRAZO
PARA DIRECCIONAR LA TORTUGA HACIA LA DERECHA
PARA QUE LA TORTUGA SE DIRIJA A LA IZQUIERDA EN EL MOVIMIENTO
EN QUE SITUACIÓN DE LA PROGRAMACIÓN USARÍAS EL CÓDIGO:
import msvcrt
msvcrt.getch()
ES UN CODIGO QUE PERMITE QUE LA PANTALLA DE PHYTON NO SE DESAPAREZCA Y SE PIERDA LA INFORMACIÓN
PARA QUE LA PANTALLA DE LA COMPUTADORA MUESTRE EL CODIGO DE PROGRAMACIÓN PHYTON
PARA QUE LA PANTALLA PERMITA VISUALIZAR LOS TRAZOS GENERADOS POR LA PROGRAMACIÓN EN LA VENTANA PHYTON.TURTLE
CUAL ES EL RESULTADO DE UTILIZAR EL CÓDIGO:
turtle.color(“blue”)
Se utiliza para poder cambiar la pantalla de color azul
Permite cambiar el color de la tortuga y de los trazos de lineas a color azul
Permite cambiar el color de los trazos de relleno de la tortuga
CUAL ES EL RESULTADO DE LOS CÓDIGOS:
turtle.forward(180)
turtle.penup()
turtle.seth(180)
turtle.forward(90)
turtle.seth(90)
turtle.forward(100)
turtle.seth(180)
turtle.forward(45)
turtle.pendown()
turtle.seth(0)
turtle.forward(90)
turtle.seth(295)
turtle.forward(115)
turtle.penup()
turtle.goto(0,0)
turtle.seth(64)
turtle.pendown()
turtle.forward(115)
1.- MUEVE LA TORTUGA SIN DEJAR RASTRO HASTA LA COORDENADA.
2.- INICIA EL DIBUJO DE UN TRAPECIO
1.- MUEVE LA TORTUGA A LA COORDENADA HASTA FINAL DEL PLANO CARTESIANO 2.- DIBUJA UN RECTÁNGULO
1.- MUEVE LA TORTUGA A LA COORDENADA HASTA EL INICIO DEL PLANO CARTESIANO Y DIBUJA UN TRIANGULO
CUAL ES EL RESULTADO DE UTILIZAR EL CÓDIGO:
turtle.circle(80)
Crea un circulo de color azul como el de la instrucción turtle.color(blue)
El código crea una circunferencia de color negro con un radio de 80
Se utiliza para crear un circulo de tamaño 80 de radio r= 80
CUAL ES EL RESULTADO DE LOS CÓDIGOS:
turtle.color("green")
turtle.begin_fill()
turtle.circle(80)
turtle.end_fill()
turtle.color("red")
turtle.begin_fill()
turtle.penup()
turtle.goto(90,50)
turtle.pendown()
turtle.forward(50)
turtle.right(90)
turtle.forward(50)
turtle.right(90)
turtle.forward(50)
turtle.right(90)
turtle.forward(50)
turtle.end_fill()
1.- CREA UN CUADRADO Y CIRCULO AMBOS CON COLOR VERDE 2. UN DELINEADO ROJO
1.- CREA UN CUADRADO CON RELLENO VERDE.
2.- CREA UN CIRCULO CON RELLENO ROJO
1.- CREA UN CIRCULO DE COLOR VERDE
2.- CREA UN CUADRADO ROJO
3.- AMBOS CON RELLENO
CUAL ES EL RESULTADO DE UTILIZAR EL CÓDIGO:
turtle.goto(90,50)
El código crea una linea entre el punto 50 y 90 par aser usado con forward()
se utiliza para llevar a la tortuga a cualquier lugar en especifico numéricamente dentro del plano cartesiano
Se usa para dibujar una linea en la coordenada (90,50)
CUAL ES EL RESULTADO DE UTILIZAR EL CÓDIGO:
import turtle
def draw_circle(turtle, color, size, x, y):
turtle.penup()
turtle.color(color)
turtle.fillcolor(color)
turtle.goto(x,y)
turtle.begin_fill()
turtle.circle(size)
turtle.end_fill()
turtle.pendown()
turtle.color("green")
Son líneas de código que deben ser escritas al inicio de la programación de Phyton , ya que indica cuales instrucciones deberán ser ejecutadas por la computadora en el lenguaje de programación
Se emplean para el desarrollo de la programación de las figuras únicamente lineales
Se debe escribir para iniciar y comprobar los resultados de la programación únicamente en las versiones de phyton de escritorio
En equipos de 3 integrantes deberán crear un código que permita la creación de alguna de las 3 opciones , una vez elegido tienen un lapso de 15 minutos para crear sus códigos y 15 MINUTOS para demostrar sus resultados en
trinket.io / turtle si el reto se cumple el equipo no presenta las programaciones anteriores.
Explore all questions with a free account