Generation

generate functionFri, 02 Dec 2022

Ask the user to input for a radius of a circle and then draw a circle with the specified radius

def circle(): radius = input("Enter radius of the circle: ") radius = int(radius) turtle.circle(radius) turtle.done() circle()

Questions about programming?Chat with your personal AI assistant