Home >Backend Development >Python Tutorial >Do you need C language basics to learn Python?
Does learning Python require basic knowledge of C language? For many beginners, this may be a very confusing problem, or they may not be able to find the right direction.
# Whether to learn C language or Python is actually related to the purpose of your learning.
It can be divided into two directions, as follows
1. If you are taking the algorithm direction, that is to say, learning a language is to learn the algorithm, and learn the algorithm while implementing it. Then it is recommended to start learning from C language or Java language, because python has too many encapsulations and implements too many details. You only need to call the python package, which has a slightly smaller effect on improving the algorithm.
2. If you are a beginner and have not learned the basics of programming, it is recommended to use python as the entry language, because python is beginner-friendly and simple, and you can achieve many functions with just a few lines of code. . Can boost your confidence. After having a certain foundation, it is very good to conduct in-depth research.
3. Interest is the best teacher. To cultivate interest, start from the shallower to the deeper and take your time.
4. Keep learning. If you want to learn a programming language, you must be prepared for long-term learning before you start learning. You must not be enthusiastic!
The above is the detailed content of Do you need C language basics to learn Python?. For more information, please follow other related articles on the PHP Chinese website!