First time here? Check out the FAQ!
answered 2023-06-10 07:17:28 +0100
This should work:
for j in range(3,4): print(Integer(j).digits(3))