Ch13 small typo

Bug #677964 reported by Louis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thinkcspy
New
Undecided
Unassigned

Bug Description

def distance_from_origin(self):
    return ((self.x ** 2) + (self.y ** 2) ** 0.5)

should be:

def distance_from_origin(self):
    return ((self.x ** 2) + (self.y ** 2)) ** 0.5

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.