0
Pig latin challenge: wrong output
So I took on the Pig latin challenge. The idea is to write a code that puts the first letter of every word in a sentence at the end, and adds “ay”. Example: Can you drive? -> ancay ouyay riveday The problem is that with my code, the output prints each word on a new line, whereas I’d like for all words to be on the same line. Could you please help me? https://code.sololearn.com/cKJCeJ6BPwh7/?ref=app
3 Antworten