python - getpos() coding -
How to write the getpos () command that should return an existing (X, Y) / P>
It starts like this:
DEF DPOPO (X100, Y100)
< P> definitely do not need help
It's a bit underspecified, but it can work :
def getpos (self): return (self x .f, sfa)
how to back it a tuple , The value of the example is assumed.
Comments
Post a Comment