Popular recipes by Ethan Hann http://code.activestate.com/recipes/users/4190746/2014-09-17T22:04:36-07:00ActiveState Code RecipesGarden Requirements Calculator (Python)
2014-09-17T22:04:36-07:00Ethan Hannhttp://code.activestate.com/recipes/users/4190746/http://code.activestate.com/recipes/578935-garden-requirements-calculator/
<p style="color: grey">
Python
recipe 578935
by <a href="/recipes/users/4190746/">Ethan Hann</a>
(<a href="/recipes/tags/calculator/">calculator</a>, <a href="/recipes/tags/garden/">garden</a>, <a href="/recipes/tags/math/">math</a>).
</p>
<p>This program takes input from the user and determines the amount of gardening materials needed for a garden. The garden is a perfect square. The four outer flowerbeds are congruent semicircles and the central flowerbed is a perfect circle. Everything else inside the garden is considered fill: stone, mulch, or other fill material.</p>
Perfect Square Checker (Python)
2014-09-10T02:21:27-07:00Ethan Hannhttp://code.activestate.com/recipes/users/4190746/http://code.activestate.com/recipes/578931-perfect-square-checker/
<p style="color: grey">
Python
recipe 578931
by <a href="/recipes/users/4190746/">Ethan Hann</a>
(<a href="/recipes/tags/check/">check</a>, <a href="/recipes/tags/checker/">checker</a>, <a href="/recipes/tags/math/">math</a>, <a href="/recipes/tags/mathematics/">mathematics</a>, <a href="/recipes/tags/root/">root</a>, <a href="/recipes/tags/square/">square</a>).
</p>
<p>This program will take input from the user and either check if a number is a perfect square or square a number, depending on user's choice.</p>