mikeudacity / robo-pace-betatest

0 stars 0 forks source link

shreeyak L02E06 #89

Closed Shreeyak closed 7 years ago

Shreeyak commented 7 years ago

The third function, calcDist requires the use of sqrt() which requires the import of math. Please add the import to the program or mention to students to import libraries as required.

Shreeyak commented 7 years ago

Also, the version of python being used is not mentioned anywhere.

cangelogamboa commented 7 years ago

Actually, you can do this program without using the math library. 2**2 is interpreted as 2 squared.

Shreeyak commented 7 years ago

what about the sqrt? Calculating the distance would require the square root of the sums.