0
pong game
The code bellow is pong game. Its working in pycharm but not in Idle. Can anyone help me to run this in the python idle 3.7.3 please . import turtle wn = turtle .Screen() wn.title("Pong by Amodh") wn.bgcolor("black") wn.setup(width=800, height=600) wn.tracer(0) #paddle A pad_a = turtle.Turtle() pad_a.speed(0) pad_a.shape("square") pad_a.color("white") pad_a.shapesize(stretch_wid=5, stretch_len=1) pad_a.penup() pad_a.goto(-350, 0) #paddle B #Ball #main loop while True: wn.update
1 Respuesta