Viewing a single comment thread. View all comments

CosmicTardigrades OP t1_j4jn6ga wrote

Thank you. I'll try.

It seems that we should teach it to build a Turing machine that solves the question instead of letting it comes out one (which is likely to be wrong) itself?

2

visarga t1_j4k5jfh wrote

Wrong tool for this kind of task, it should generate a Python function which will give you the answer when evaluated on the input. And this approach would generalize better. The Turing machine approach is useful when you're dealing with concepts that don't fit well into Python code.

2

CosmicTardigrades OP t1_j4k5ols wrote

Yeah. You‘re right. The essence is to construct a right model for “counting”

1