When you learn a new language, coherence is very important. We suggest that you devote yourself to writing code every day. It's hard to believe, but muscle memory plays a big role in programming. Daily coding helps to develop muscle memory. Although it may seem daunting at first glance, consider starting from 25 minutes every day and then starting there.
Check out the first step of the Python guide to learn about the installer and the exercises you started.
Tip 2: Write it out.
As a new programmer, as you progress in your journey, you may wonder whether you should take notes. Yes, you should! In fact, research shows that handwritten notes are the best long-term preservation method. This is especially beneficial for those who are committed to becoming full-time developers, because many interviews will involve writing code on the whiteboard.
Once you start working on small projects and programs, handwriting can also help you plan your code before transferring it to your computer. If you write down the functions and classes you need and how they interact, you can save a lot of time.
Tip 3: Interaction!
Whether you are learning basic Python data structures (strings, lists, dictionaries, etc. The interactive Python shell will be one of your best learning tools for the first time or when debugging an application. We also use a lot on this website!
To use the interactive Python shell (sometimes called Python RePL), first make sure that Python is installed on your computer. We have a step-by-step tutorial to help you do this. To activate the interactive Python shell, just open a terminal and run Python or Python 3 according to your installation. You can find more specific directions here.
Now that you know how to start the shell, here are a few examples to illustrate how to use the shell when learning.
Learn how to use the element ().