Skip to content

Instantly share code, notes, and snippets.

@Svastikkka
Created August 20, 2020 08:00
Show Gist options
  • Save Svastikkka/eb6bc80e5af7a4f7c32aeabe67802a59 to your computer and use it in GitHub Desktop.
Save Svastikkka/eb6bc80e5af7a4f7c32aeabe67802a59 to your computer and use it in GitHub Desktop.
import math
x1=int(input())
y1=int(input())
x2=int(input())
y2=int(input())
print(math.sqrt((x2-x1)**2+(y2-y1)**2))
@Svastikkka
Copy link
Author

  1. Distance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment