0

Is it necessary to make the program using same step as in the solution???

I am new in Python learner I started solving exercise problem after covering Python basics. but when I match my code to given solution of the exercise I got lot's of difference b/w my code nd solution provided by expert. plz suggest

30th Dec 2018, 9:24 PM
Sailab Hussain
Sailab Hussain - avatar
4 Respuestas
+ 6
There are usually several ways to get the same result. Ask 10 coders to solve the same problem and you'll most likely get 10 different codes
30th Dec 2018, 9:48 PM
Anna
Anna - avatar
+ 3
There are always a thousand ways to solve the same problem. So don’t worry if your solution is different than the “official” one (as long as you get to the correct answer).
30th Dec 2018, 9:48 PM
Diego
Diego - avatar
+ 2
Most important thing: Your code does what it's supposed to do.
30th Dec 2018, 10:41 PM
HonFu
HonFu - avatar
+ 1
You can always be creative with programming.
31st Dec 2018, 12:39 AM
Seb TheS
Seb TheS - avatar