14. remove-duplicates not returning yet printing


#1


Please advise as to why the 'while' statement returns no result? The loop returns the correct result to the 'print' function. Not sure why 'return' doesn't receive the same input from the same loop?


#2

Use the same argument as mentioned in the error message.