area of a circle

Copy the code below into a new file and save it as “area.py”. To work out the area of a circle you need to square the radius and then multiply by pi. This can be written as r * r * 3.14 make the following changes – – Using the variable “radius”, calculate the area … Continue reading area of a circle