I'm working on a school project in which we need to create a solution for 8-puzzle problems using the a* algorithm. Anyways, I would like to ask a user for an input say:
123
456
7 8
How do I separate those and store in a list? I know how to store it on a list, my problem is the separation.
sampleList = ["1", "2", "3", "4", "5", "6", "7", "0", "8"]