How can i optimise my python code to run faster | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
28th Sep 2019, 8:45 PM
Deepak Singhal
Deepak Singhal - avatar
4 Answers
+ 3
The first improvement would be to add some comments and a doc string.
28th Sep 2019, 8:58 PM
Thoq! - avatar
+ 3
I'd gladly help you, but I can't understand what your code is supposed to to. At least include a link to the challenge it's meant to solve.
28th Sep 2019, 9:50 PM
Diego - avatar
+ 2
And proper variable names instead of just letters.
28th Sep 2019, 9:34 PM
HonFu - avatar
I am sorry for posting code like this. Please see the code again i have updated the code with a docstring containing problem statement
6th Oct 2019, 6:05 PM
Deepak Singhal
Deepak Singhal - avatar