Merge pyextra subtree

This commit is contained in:
Vehicle Researcher
2019-03-26 01:03:51 -07:00
69 changed files with 8796 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
# Python3.5+ code.
# This won't even parse in earlier versions, so it's kept in a separate file
# and imported when needed.
def distance(a: float, b: float) -> float:
return (a ** 2 + b ** 2) ** 0.5