My output:
> > move from (0,0) to (1,1)
> move from (1,1) to (3,1)
> move from (3,1) to (3,4)
> goodbye
Expected:
>
> move from (0,0) to (1,1)
> move from (1,1) to (3,1)
> move from (3,1) to (3,4)
> goodbye
I have 3 separate files, but I believe the cause could be either of these issues.
task.py:
....
while True:
command = input("> ").strip()
if command == "":
print()
continue
if command == "quit":
print("goodbye")
break
....
I added the if command == "", but that still did not do anything. Even if you remove it, it doesn't do anything as a matter at all