Using exponentation to square a radius


#1

maybe not a very programming specific question but I can’t find anything on it online it’s for the Area Calculator python project step 15


#2

Hi @williamburgdorffjens,

Without our seeing the code that you have thus far, it may be a challenge for us to offer specifics regarding what you need to do in step 15. However, assuming that you have adhered to the instructions provided for Project: Area Calculator, you can do something equivalent to this to use exponentiation to square a radius for calculating the area of a circle …

area = pi * radius ** 2

Whether the above works depends, in part, upon the names you have used for variables.


#3

yeah thanks it was so simple I had just never heard it being called exponentation before so I didn’t know what to do


#4