First time here? Check out the FAQ!
answered 8 years ago
There is no such method, but you can do the following:
sage: [i for i in x.str(skip_zeroes=True) if i.isdigit()] ['3', '1', '4', '1', '6']