Sep-11-2018, 01:27 PM

I am asked to plot a circle with user's input of radius, and display the area of the circle next to it on the plot. I know how to set up the whole thing but I don't know how to print on plot.

This is the code up till now:

import turtle

from math import pi

import math

r = float(input ("Input the radius of the circle : "))

print ("The area of the circle with radius " + str® + " is: " + str(pi * r**2))

turtle.circle®

I'm still a newbie and I'm taking a class in Python for the first time.

This is the code up till now:

import turtle

from math import pi

import math

r = float(input ("Input the radius of the circle : "))

print ("The area of the circle with radius " + str® + " is: " + str(pi * r**2))

turtle.circle®

I'm still a newbie and I'm taking a class in Python for the first time.