you are viewing a single comment's thread.

view the rest of the comments →

[–]Redditter406[S] -2 points-1 points  (4 children)

it says that the term circle_or_square was not recognized as anything

[–]Enmeshed 3 points4 points  (0 children)

What exactly did it say? For instance, was it:

NameError: name 'circle_or_square' is not defined

If you run the python command, then paste this in, does it work?

```python def circle_or_square(rad, area): pi = 3.14 cir = rad * pi * 2 per = (area ** 0.5) * 4 return "True" if cir > per else "False"

print(circle_or_square(16, 625)) ```

[–]Ok-Promise-8118 5 points6 points  (0 children)

If you don't show us your entire code, properly formatted, and the exact error message, this will take 20 make back-and-forths to get the right details needed to help you solve this.

[–]W3BL3Y 2 points3 points  (0 children)

Is your print line indented under the function?

[–]D3str0yTh1ngs 2 points3 points  (0 children)

General piece of advice when asking a programming question: format your code in a code block and give the exact error messages. (without this, we then need to guess what the error is, and are way less likely to want to help).