For making something stick in long term memory your brain needs repetition with gradually increasing time intervals. Coding a lot is definitely a good recommendation, but there will always be patterns you don't use as often, so some structured learning can help. What you want to remember 'brute force', repeat after one day, two days after that, four days after that and so on.
HonFu Sounds solid to me, thanks! Have you done this?
I read programming textbooks.i love the Tony Gaddis textbooks.
Aditya Khandelwal many thanks my man
Python is one of the best languages which will be used in future with Machine Learning and Artificial Intelligence. To practise in Python you need to make codes in every single projects and participate in different coding compitition and challenges offered at sololearn as well as sites as hackerrank, codechef ect. Constant practise on this platform will increase your knowledge as well as making code with perfection, you can also see different user codes and try to understand the logic and make code with that logics helps you to improve your skills This thraed first answer by @maz is great to start practising and improving your command in language https://www.sololearn.com/Discuss/437973/?ref=app