[examples] final pep8 fixes

is this under 80 chars? if not, perhaps turning those "2." into "2" would help? Or maybe just using np.hypot()?