0

How much time do you need for solving a Code Coach in average?

I've solved a Pig Latin Code Coach now, but I've spent about 4-5 hours solving it. I'm new to programming, even though I think that it's too much time for such a little problem, it seems like I'm not able to really effectively solve challenges. Am I really solving it too long and do I need to worry about it? https://sololearn.com/compiler-playground/c1a89acgiaYO/?ref=app

6th Jun 2024, 11:05 PM
Kinshichi
Kinshichi - avatar
1 Réponse
+ 7
No matter how much time did it take you to solve the code coach problems.You should happy that you solved the code coach problem. As my experience take a notebook or a paper and a pen then try to understand the ways by which it can be solved. Practice makes human perfect. Time depends upon the solver in what way he/she solving the code coach. You could make it shorter:- 1>Declare an array consist of elements in the string separated by space. 2>Set a for loop and iterate through over the array and here you can directly modify and print the modified element of array. I mean in this way:- arr = list(input().split()) for i in arr: print(i[1:],i[0],"ay ",sep="",end="")
7th Jun 2024, 1:57 AM
Gulshan Mahawar
Gulshan Mahawar - avatar