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

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -