On Monday, July 4, 2016 at 6:39:45 AM UTC+12, John Ladasky wrote: > Here's another worm for the can. Would you rather read this... > > d = sqrt(x**2 + y**2) > > ...or this? > > d = √(x² + y²)
Neither. I would rather see d = math.hypot(x, y) Much simpler, don’t you think? -- https://mail.python.org/mailman/listinfo/python-list