So it depends on how dedicated you , It can take you less than 3 months to know the basics ,to be able to create a program lets say a shopping program , All you have to do that helps is watch a lot of YouTube videos , do courses for free that will help you enhance your skills .From my own experience I learnt by doing so coming up with small programs that randomize numbers etc ,and the more errors you get the more you learn .Stack overflow can also help you learn one or two things about certain errors you come across because there might be someone who had the same error
So it depends on how dedicated you , It can take you less than 3 months to know the basics ,to be able to create a program lets say a shopping program , All you have to do that helps is watch a lot of YouTube videos , do courses for free that will help you enhance your skills .From my own experience I learnt by doing so coming up with small programs that randomize numbers etc ,and the more errors you get the more you learn .Stack overflow can also help you learn one or two things about certain errors you come across because there might be someone who had the same error