Python tutorial - What is programming?

Python tutorial - What is programming?


Published at - Sep 17, 2021

What is programming?

As a computer user, you know that computers have no feelings. They do not act quickly or slowly depending on whether we are angry or upset. Computers can do millions of maths per second, but they require us to tell them exactly what to do. If they do something other than what we want them to do, it is often because they do not understand our commands as we understand them.

The only major difference between the program and what you are familiar with is that instead of pressing buttons to do things we write commands using the programming language. Many editing languages ​​contain English words, digits, and other characters with special meanings.

Unlike people who tend to think, planning is usually not difficult. Larger plans are usually made up of smaller, simpler pieces, and those pieces are written individually. Planning languages ​​are made for human use, so if there is an easy way to do something and a hard way to do something, you should use the easy way.

What do I need?

First of all, you do not need to be proficient in math. Some programmers are skilled at math, others are not. Planning and statistics are two different things and being good or bad in one do not mean that you are automatically good or bad in another.

You don't even need a powerful computer. I can do almost all of my computer programming at the age of 12 if I need to. Fast computers are not good to work with, but you do not need to.

Planning takes time like all the hobbies you do. Some people read it quickly, while others do not. I don’t expect you to read this lesson in a few hours and know everything we talk about. Take your time with things, and remember that I learned to plan a little.

Getting started

This tutorial uses a programming language called Python because it is easy to learn and can do many things with it. For example, we can create our apps with buttons that people can click instead of just using programs written by others.

Before we start with Python we need to know how to type some special Python characters with our keyboards. Unfortunately, I don't know which keys you need to press to generate these characters because your keyboard is probably different than mine. But the keyboard can tell you what you need to press. For example, my Finnish keyboard has a key like this:

The key to my keyboard.

Here is what the characters of this key say:

  1. I can type number 7 by pressing this key without holding down any key at the same time.
  2. I can type / character by holding the switch key (on the left edge of the keyboard, between Ctrl and CapsLock) and pressing this key.
  3. I can type {character by holding down AltGr (at the bottom of the keyboard, to the right of the space bar) and pressing this key. Holding Ctrl and Alt instead of AltGr can also work.

The only key to it is the spacebar. It's a big, wide key that is very close to you. Another key used to generate a white spot is the tab, the key above CapsLock.

In this lesson, we need to be able to type these characters. We will learn their meanings later.

How can you learn this lesson?

I have done my best to make this teaching as easy to follow as possible. Some people commented on this and helped me improve this too. But what if you have a problem with the subject?

  1. Try the sample code yourself.
  2. Read the code and its meaning again.
  3. If there is something you have not seen in the study before and it is not explained, try to find it in previous chapters.
  4. If you do not have what you need or if you still have difficulty understanding the tutorial or other problems with the subject, please tell me about it. I want to improve this lesson so that other students do not have the same problem as you.
  5. See Getting help if you can't contact me for some reason.

Feel free to combine this lesson with other learning resources. If this tutorial isn't for you then you don't need to stick to anything other than this. You can find another lesson and compile the tutorial no matter how you want it as long as you make sure you understand everything you read.

One of the most important things about learning to make a plan is not to be afraid of mistakes. If you make a mistake, your computer will not break it in any way. You will receive an error message telling you what is wrong and where you are. Even professional editors make mistakes and get error messages all the time, and there is nothing wrong with it.

If you want to know what a particular piece of code in this tutorial does just then see it. It is almost impossible to break anything by mistake with the things you will learn by reading this lesson, so feel free to try all the examples you want and turn them into whatever you want.

While a good lesson is an important part of learning to do a plan, you also need to learn to do your own thing. Apply what you learn, and then do something about it.

But reading is boring!

This chapter is perhaps the saddest in the entire study. Some chapters contain very little text and too much code. And you can go far by simply reading the code, and then reading the text only if you do not understand the code.

Summary

  • Now you need to know what programming languages ​​and programs are.
  • You don't need math skills and you don't need a new computer.
  • Complex programs consist of simple pieces.
  • You do not need to remember how to type different characters. Just find a character on your keyboard and press a key, hold down shift or AltGr as needed.
  • Make sure you understand everything you read.
  • Try things out with ease and don't be afraid of mistakes.
  • Error messages our friends.
  • Let me know if you have a problem with this tutorial.
  • Now we're ready to install Python  and get started!




About author

Harendra
Harendra Kanojiya

Hello, I am Harendra Kumar Kanojiya - Owner of this website and a Fullstack web developer. I have expertise in full-stack web development using Angular, PHP, Node JS, Python, Laravel, Codeigniter and, Other web technologies. I also love to write blogs on the latest web technology to keep me and others updated. Thank you for reading the articles.



Follow Us

Follow us on facebook Click Here

Facebook QR
Scan from mobile
Join our telegram channel Click Here
Telegram QR
Scan from mobile