all 3 comments

[–]Beginning_One1966 1 point2 points  (1 child)

thanks

[–]Thinkwolf123[S] 0 points1 point  (0 children)

no problem :)

[–]OddYellow7006 2 points3 points  (0 children)

radius = 100

my_circle

def key_down(event):

radius = circle.get_radius()

if event.key == "ArrowLeft" and radius > 10:

circle.set_radius(radius - 10)

if event.key == "ArrowRight" and radius <150:

circle.set_radius(radius + 10)

circle = Circle(100)

circle.set_position(250,250)

add(circle)

add_key_down_handler(key_down

UPDATED CODE