Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 13th, 2018
105
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
def
isCollision
(
t1
,
t2
)
:
distance
=
math
.
sqrt
(
math
.
pow
(
t1.
xcor
(
)
-t2.
xcor
(
)
,
2
)
+
math
.
pow
(
t1.
ycor
(
)
)
-t2.
ycor
(
)
,
2
)
if
distance
<
15
:
return
True
else
:
return
False
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
7 hours ago | 1.88 KB
Untitled
7 hours ago | 0.67 KB
Untitled
7 hours ago | 3.33 KB
Untitled
7 hours ago | 1.00 KB
Untitled
7 hours ago | 0.33 KB
Untitled
7 hours ago | 1.55 KB
my software
11 hours ago | 0.03 KB
disable countdown timer in cart for drop pric...
PHP | 15 hours ago | 0.23 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!