No older revisions available
No older revisions available
~cpp
brain = (0, 0)
heart = (0, 3000)
stomach = (0, 5000)
organ = [brain, heart, stomach]
import random, math, time
position = random.choice(organ)
print "Your position is " ,position
def Scan(pos):
scanlimit = 10000
print "Follow organ is in" ,scanlimit
for i in organ:
if math.sqrt( (i[0] - pos[0])**2 + (i[1] - pos[1])**2 ) < scanlimit:
print i
def inputDes():
Des = input("Where is your Des")
Speed = input("Speed??")
time.localtime()[:6]
Scan(position)
inputDes()
print 'aaa'