Skip to main content

How to Learn to Code with Python

LEARN TO CODE WITH PYTHON 

In todays blog post I will be talking about how to learn to code(especially with python programming language), and I will point out the best way to learn to code according to my experience.

1 - Consistency/Code daily

Consistency is very important when you are learning a new language. making a commitment to code every day is really helpful. It may be hard to believe, but muscle memory plays a large part in programming. Committing to coding everyday will really help develop that muscle memory. Though it may seem daunting at first, consider starting small with 25 minutes everyday and working your way up from there.

2 - Take Notes



As you progress on your journey as a new programmer, you may wonder if you should be taking notes. Yes, you should! In fact, research suggests that taking notes by hand is most beneficial for long-term remembrance. Once you start working on small or big projects and programs, writing by hand can also help you plan your code before you move to the computer and also can help you when debugging your codes.

3 - Create Projects



when learning to code you need to create projects and other small programs to help you get used to the language, and also help you get used to the logic behind coding.
So creating projects even though they are from youtube tutorials will make you understand the concept of working on real world projects or projects that are original (meaning projects that you taught of by yourself not one that was copied from a YOUTUBE tutorial).

4 - Take a break




Taking a break is very vital for every programmer beginner or advanced because as a beginner it helps you take in all the new information that you just learnt and The Pomodoro Technique is widely used and can help: you work for 25 minutes, take a short break of about 5 minutes, and then repeat the process. Taking breaks is critical to having an effective study session, particularly when you are taking in a lot of new information.

Breaks are especially important when you are debugging. If you hit a bug and can’t quite figure out what is going wrong, take a break. Step away from your computer, go for a walk, or chat with a friend.

In programming, your code must follow the rules of a language and logic exactly, so even missing a quotation mark will break everything. Fresh eyes make a big difference.

Learn more about python from the Python official website





Comments

Popular posts from this blog

How to Create a Qrcode Generator in Python.

Firstly before writing the codes for the qr code generator let us first understand what we mean by qr code. What are Qr Codes? Qr Codes which are also known as Quick Response codes are a type of matrix barcodes developed in 1994 by the Japanese automotive company DENSO WAVE by a man named Masahiro hara. Qr Codes can also be defined as a machine-readable code that consists of an array of black and white squares, typically used for storing urls or other information for reading by the camera on a smartphone or smart device.  What are Barcodes? A barcode on the other hand is a machine-readable optical label that can contain information about the item to which it is attached. Coding Time. So we are done with the definition of qr codes and barcodes now let's dive into the coding. Steps to Create the Qr Code Generator. Firstly make sure that python software is installed in your system (more specifically python3), if it is not then go to https://www.python.org/ In order to download th

Coding vs Programming

Today I will be talking about a very big misunderstanding among people which is: The difference between coding and programming these two are taught to be synonymous/similar, well am here to clarify that and fully explain what they are. CODING VS PROGRAMMING Coding and programming are often thought to be the same but they are not, Coding is the process of translating and writing codes from one language to another, whereas Programming is the process of building an executable program that can be used to carry out proper machine level outputs. Coding only deals with the codes, and so it is less intimidating and less intensive. WHERE DOES CODING COME IN? So coding is just part of the process of programming but it's not programming itself, so you can say coding is like pathway you must learn in order to learn programming, because in order to create programs writing codes is a step you must take, and you write these codes in a special language called Programming languages . So I hope t