[Newbies] What's wrong with this statement?

Timothy J Miller tmiller at mitre.org
Thu Jul 31 20:31:29 UTC 2008


On Jul 31, 2008, at 2:54 PM, Edgar J. De Cleene wrote:
> But (2 raisedTo: 128) atRandom could genetate
> 49572205802560219958060582892667404289
>
> and
> 49572205802560219958060582892667404289 hex also is wrong print
> '254B42724A9684000000000000000001'

Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26)

 >>> hex(49572205802560219958060582892667404289)
'0x254b42724a9684000000000000000001L'

Hmmm.  Clearly I'm missing something.

-- Tim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2533 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080731/a7809413/smime.bin


More information about the Beginners mailing list