What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-12 17:58:03
python pong game
#The best python pong game without pygame! import turtle a_wins = False b_wins = False # Set up the screen turtle.Screen() wn = turtle.Screen() wn.title("Ping Pong game by Timothy") wn.bgcolor("black") wn.setup(width=800, height=600... Add solution -
Python 2021-10-09 11:18:03
how to hide turtle in python
import turtle wn = turtle.Screen() wn.setup(width=700,height=400) wn.title("Python Turtle Movement") def playerUp(): player.sety(player.ycor()+10) def playerDown(): player.sety(player.ycor()-10) def playerRight(): player.setx(player.xcor... Add solution -
Python 2021-10-06 08:55:04
how to make circle in python
import turtle def draw_circle(turtle,color,size,x,y): turtle.penup() turtle.color(color) turtle.fillcolor(color) turtle.goto(x,y) turtle.pendown() turtle.begin_fill() turtle.circle(size) turtle.end_fill() square=turtle.Turtle() square.spee... Add solution -
Python 2021-10-02 08:29:04
import turtle as t
import turtle # imports it whateverYouWantToCallIt = turtle.Turtle() # adds it to the project #code whateverYouWantToCallIt.forward(10) # moves whateverYouWantToCallIt forward whateverYouWantToCallIt.color("purple") # color whateverYouWantToCall... Add solution -
-
Python 2021-09-20 21:47:01
Python turtle setup
import turtle # imports it whateverYouWantToCallIt = turtle.Turtle() # adds it to the project #code whateverYouWantToCallIt.forward(10) # moves whateverYouWantToCallIt forward whateverYouWantToCallIt.color("purple") # color whateverYouWantToCall... Add solution
Best helpers
Ranking is empty