Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to write .digit() ??

I create function that want to see result of example 128.digit() = [1,1,0,0,0,0,..] like this (not sure)

but when I write in python, it has function .digit() too but it has different use and it can't use with integer number (it use to check digit, right?)

how can i write fucntion .digit() just like in sage into my python program?

thank you for your kindness