turtle tag

10 questions


1 answers
360 views
0
Turtle Game Add Life

import turtle as timport random# Create Screen Objectscreen = t.Screen()# Specify screen background colorscreen.bgcolor(lightgreen)# drawing a fencemypen = t.Turtle()mypen.penup()mypen.setposition(-30...

1 years ago

1 answers
114 views
0
I want to move the ball to square one and limit the number of repetitions to five

import turtlescreen=turtle.Screen()image1=D:\\ball.gifscreen.addshape(image1)ball=turtle.Turtle()ball.shape(image1)ball.pensize(0)ball.penup()ball.goto(0, 0)ball.left(90)def go_left(): b1 = 0 ball.l...

1 years ago

1 answers
116 views
0
Strike an Angry Bird-like target with a Python turtleneck. Obtain collision conditions on the target.

I'm going to make something similar to the Angry Bird game with Python.So I made the codeimport turtle as timport mathimport randomt.shape(turtle)def square(): for i in range(4): t.forward(10) t.lef...


1 answers
82 views
0
Python Turtle Color Change: The color of the line and the color of the arrow keep changing.

import turtle wm = turtle.Screen() t = turtle.Turtle() t.penup() t.goto(50,50) t.pendown() t.begin_fill() t.color(brown) t.forward(100) t.left(72) t.forward(100) t.left(72) t.forward(100) t.left(72) t...

1 years ago

1 answers
113 views
0
Is there any way to connect Python tkinter and Turtle?

Write a program that draws a circle filled with the left polygon and the right red when you press the next 'click' button.In this issue

1 years ago

1 answers
119 views
0
Make a heart shape with Python turtle

I have to make a heart shape with the one that's out here, but it's not working well. If there's anyone who's good at Python, please help me.import turtleturtle.colormode(255)turtle.color(255, 255, 0)...

1 years ago

1 answers
88 views
0
Python Fractal Structure, Pythagorean Tree Question.

from turtle import*def pract(a,d): if d<=20: return for i in range(4): fd(d) lt(a) lt(a) fd(d) rt(a/2) pract(a,d*(2**(1/2)/2))setup(800, 800)up(); goto(0, -300); down()speed(5)pract(90,100)done()...

1 years ago

1 answers
110 views
0
Only the middle of the star is not painted in Python Turtle.

Hello, I'm a college student taking Python as a seasonal semester. We're drawing a star with a turtleneck inside the river, but it doesn't paint in the middle of the star. How do I fix the code? I'd r...

2 years ago

1 answers
118 views
0
Python Turtle for Moon

How can I change the shape of the picture above to Python Turtle for Moon?

2 years ago

1 answers
88 views
0
Is there a Python app that allows you to use the iPad for turtle graphics? The web is good, too.

It's ㄴI'm going to touch the turtle graphic because of my midterms I'm inquiring because my laptop is heavy and I want to carry only my iPad. Is there a web or app that runs on the iPad? I looked it u...

2 years ago

© 2024 OneMinuteCode. All rights reserved.