Real World Python community channel - https://realworldpython.guide
Please post your doubts and questions here!
sir, I have a doubt regarding doing competitive programming same problem done in python got tle(time limit exceed ) but in another language(c,c++) do same but got right answer.
is this ok to do cp in python?
@diwakarjaiswal880 it was the case 5 years back, but now a days algorithm contest problems have become more language agnostic and usually TLE only if your algorithm is less efficient .. just have a google codejam solutions for past few years .. you will observe the same.
in python usually if you are using nested for loops you might experience TLE as for Java/C++ it will be magnitudes faster, but the winning solution is always more efficient and languages don't matter for those solutions.
When the next chapters will be available Sir?
@b-mohan you will be notified via email when the next chapters are published. Thanks for reading!
@animator my terminal output:- You are using pip version 19.2.3, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command
But the command is not working
@Agro_ashish_twitter try using python -m pip install --upgrade pip
@animator /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: No module named pip Above is the output for the command suggested by you.