i need to write code for two "robots" that will chase each other around the screen. im stuck on a command which is the step(x,y) command which take the (x,y) coordinates of the other robot as a parameter which should just contain "pass" and will be overridden by the subclass.

i dont how to write the code for it can someone help

According to your explanation:

def step(x,y):
    pass

If you need something else you'll need to explain what you're trying to do and give some context. If you really want some code written for you you'll need to provide some code for us to work from. We can't just automagically write your programs for you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.