and receive the following:
AttributeError: 'sage.rings.integer.Integer' object has no attribute 'bit_length'
It works fine on local IDLE
Could you help me on that?
Thank you very much.
--
You received this message because you are subscribed to the Google Groups "sage-cloud" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-cloud+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cloud/1ed73365-33dc-411d-b84e-fdc182bd89af%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
When you are working in the "Sage Worksheet", you are by default using "Sage". In your case, there is something called "preparser" at work, which translates some input to Sage specific types or understands some additional grammar.
In your case, you can disable this by adding "%python" at the to top of the cell for the current cell. You can also disable this preparser just for the number: