Why is this Pig Latin solution wrong?
I've solve the Pig Latin in Python in a couple of ways. These ways were using a variable to save the words translation and were passing the Test 1, 2 and 5 correctly. Despite that I tried by slicing the input then printing the words and it worked that way. Yet I want to know why my first solving wasn't correct and if it's a good solution in terms of software quality. https://code.sololearn.com/c91kDatvjR6s/?ref=app