Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. def test(x):
  2.         f = ['0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F']
  3.         txt = ""
  4.         while x:
  5.                 txt = f[x&0xF]+txt
  6.                 x = x>>4
  7.        
  8.         return txt
  9.        
  10. stdout(test(0x123454))