Square roots in python
12,080 users and I are trying an MIT OpenCourseWare class on Python. Many of us, especially rookies, hit roadbumps on Problem Set 1. I found a solution but could use some help making it neater by using square roots. Any help with line 17 would be greatly appreciated. Because it's an open, collaborative class, you'd probably be helping hundreds of others, too. <a href="http://collabedit.com/n7gja">Here's the code.</a>  Thanks!
Square roots in python
===

12,080 users and I are trying an MIT OpenCourseWare class on Python. Many of us, especially rookies, hit roadbumps on Problem Set 1. I found a solution but could use some help making it neater by using square roots. Any help with line 17 would be greatly appreciated. Because it's an open, collaborative class, you'd probably be helping hundreds of others, too. <a href="http://collabedit.com/n7gja">Here's the code.</a>  Thanks!