0

Pig Latin

Can anyone explain to me the pig Latin question from the coad coach

23rd Nov 2024, 6:05 AM
Arnav
Arnav - avatar
6 Respuestas
+ 2
Arnav yes, thinking about the problem and trying your own methods, especially if they don't work, is where most of the learning happens. you can post your failed attempt and members here will guide you through a solution, or point out where you are wrong.
23rd Nov 2024, 9:02 AM
Bob_Li
Bob_Li - avatar
+ 3
Wong Hei Ming yeah i get it now Thanks
23rd Nov 2024, 8:59 AM
Arnav
Arnav - avatar
+ 2
All the questions in the code coach have been explained in very simple manner along the inputs and outputs. Kindly read it carefully. Try to attempt and incase you get stuck feel free to post of questions along the copy of code pasted in the code playground so we can guide you
23rd Nov 2024, 6:13 AM
Aysha
Aysha - avatar
+ 2
You try to think of a solution by yourself, from what you have learned. Coding is problem solving. Nobody is hiring a programmer who can't solve problems. To solve a problem, you have to first be able to understand it. Now, are you stuck in the 'understanding the problem' part or in the 'coming up with the solution' part? I'm not trying to be mean or harsh, but in taking the easy path, you can finish all the courses by searching for readymade solutions, but you will only end up learning nothing and wasting your time.
23rd Nov 2024, 8:38 AM
Bob_Li
Bob_Li - avatar
+ 1
Link to code coach https://www.sololearn.com/coach/16?ref=app The quiz already provide a sample input and output. In case you don't want to leave this page, I give you another example (to simplify things, all in lowercase). Input -> boldly to code where no man has coded before Output -> oldlybay otay odecay hereway onay anmay ashay odedcay eforebay Explanation For each word in the sentence, move the first character to the end of the word, then append 'ay' to it.
23rd Nov 2024, 8:37 AM
Wong Hei Ming
Wong Hei Ming - avatar
+ 1
Bob_Li I did try it twice but yeah you too are right problem solving is the most essential skill for a coder 👍
23rd Nov 2024, 8:58 AM
Arnav
Arnav - avatar