In reply to Elsie Peprah.

My advice: the best way to learn ANYTHING is to practice it regularly. So if you want to become a better programmer, you need to write a lot of programs. I'll add that you should always break a complex problem into a sequence of simpler steps. Good luck!