What do you want to save?
Add Code snippet
New code examples
-
Python 2021-09-20 01:08:03
how to draw a star and a circle in python turtle
import turtle, time t = turtle.Turtle() t.shape("turtle") # you could also change our turtle to a pen. t.color("red") # the pen/turtle's color will now draw in red. t.speed(0) # 0 means that the picture is done immediately, 1 is sl... Add solution -
Python 2021-09-14 11:26:03
python turtle import images
import turtle from os import path #WARNING: IMAGES MUST BE .GIF currentDir = os.abspath(path.curdir) #get the python file location wn = turtle.Screen() wn.setup(width=700,height=400) wn.title("image test") wn.addshape(currentDir+"\\Resour... Add solution -
Python 2021-09-06 04:23:03
how to put an image in python turtle
import turtle from os import path #WARNING: IMAGES MUST BE .GIF currentDir = os.abspath(path.curdir) #get the python file location wn = turtle.Screen() wn.setup(width=700,height=400) wn.title("image test") wn.addshape(currentDir+"\\Resour... Add solution -
Python 2021-09-01 07:29:02
gun in python turtle
import turtle import os #wn is window #bp = border bullet = 'ready' #screen setup wn = turtle.Screen() wn.bgcolor('black') wn.title('SPACE.INVADERS') #border bp = turtle.Turtle() bp.speed(0) bp.color('green') bp.penup() bp.setposition(-300,-300) bp.pend... Add solution
Best helpers
Ranking is empty