3 ms·
For basic syntax? Just go do some leetcode problems until it starts to make sense. Every time you don't know how to do something just look it up, python has gre
by tudelo 8y ago
For basic syntax? Just go do some leetcode problems until it starts to make sense. Every time you don't know how to do something just look it up, python has great docs. As for learning it for a first language, probably go with other posters suggestions.
- EdSeegar 8y agoI actually did the same thing and compared to other languages, Python really does have amazing documentation. I knew C/C++ since middle school so I didn't really run into problems and looked stuff up on an as-needed basis without any major problems.
- chatmasta 8y agoSecond this. Idk if leetcode existed when I learned python but I did a similar thing using project Euler. Basic python syntax is very simple and if you’ve programmed in another language you’ll pick it up quickly. The harder part is learning best practices, tooling, modules, and how to write “pythonic” code. For that I recommend reading the source of projects on GitHub.