Programming is an activity. You should view it similar to how you view sports, like soccer, basketball, etc. You can't "learn" sports by just reading books and watching videos. It's possible for you to become so engrossed in watching videos, reading tutorials, that you can get trapped in "tutorial hell.
When you learn programming, you often do these exercises in books, or other challenges online. Once you come up with a solution, you observe that our solution is radically different from the "official solution." Should you be worried? The short answer is, no. The prime objective of programming is correctness.
If you've just begun programming, you might come across this word, "syntax." For simplicity, syntax is merely the grammatical rules of a programming language like Python. English also has a syntax, which is its rules of grammar. Semantics, on the other hand, refers to the underlying meaning. If you know