+ 3

Comparing code coach solutions

Hi :) I'm quite new here and solving my first python code coaches. I have been wondering, if there is an easy way to compare my own code coach solutions to what others have done. I am always curious if there is a more efficient way to do things.

1st Jun 2024, 10:44 AM
MareiCuja
MareiCuja - avatar
10 Answers
+ 3
Generally, we don't post solutions in the forums but there are solutions posted on the web. It's not hard to find them. I agree that comparing solutions can be beneficial to learning 😉
1st Jun 2024, 10:47 AM
Keith
Keith - avatar
+ 6
"I do not expect my code to be perfect ..." Yes, we best learn step by step and at our own pace. It's not a good idea to expect perfection during one's learning journey. "So the 'comparing' is mostly just to learn of easy ways to make me more efficient or just learning about methods that I can come back to and teach myself later" I agree with such motives, prefer to learn than to compare, and don't get hesitated when we see others do things in different or "better" way. In reality, the goal is to solve a problem, there are ways to go to Rome :)
1st Jun 2024, 3:12 PM
Ipang
+ 4
Some people save their code coach solutions as code bits, some also set the code bits public for other learners to see, expecting inputs from others as in alternative ways to solve the task. Perhaps you can check the Code section of the app/web for such codes. One thing to note though, try to stay positive when "comparing" your solution to that of others. I would prefer to call it learning than comparing, because comparing things could bring us down as much as it can inspire :)
1st Jun 2024, 2:50 PM
Ipang
+ 3
You will find many solutions in codes part of this app. You could search there, of course if you like.
1st Jun 2024, 11:12 AM
JaScript
JaScript - avatar
+ 2
it's indeed good idea. If it was possible learners will able to see smarter solutions and good coding practices
1st Jun 2024, 11:17 AM
john ds
john ds - avatar
+ 2
I do not expect my code to be perfect, I have just started learning almost from scratch 😊 So the 'comparing' is mostly just to learn of easy ways to make me more efficient or just learning about methods that I can come back to and teach myself later
1st Jun 2024, 2:59 PM
MareiCuja
MareiCuja - avatar
+ 1
Ok, thank you! It would be really cool, if there was a way to compare your own solutions to those of others (only after having solved it yourself first of course 😁)
1st Jun 2024, 10:55 AM
MareiCuja
MareiCuja - avatar
+ 1
Omid Yousefi Welcome to Sololearn! This isn't where you should post codes though. https://www.sololearn.com/Discuss/3021159/?ref=app
2nd Jun 2024, 1:49 PM
Keith
Keith - avatar
0
https://sololearn.com/compiler-playground/W0FBISKGlvV3/?ref=app
2nd Jun 2024, 1:14 PM
Omid Yousefi
Omid Yousefi - avatar
0
❀
2nd Jun 2024, 2:04 PM
Omid Yousefi
Omid Yousefi - avatar