What is Python? Is it a snake?
Python is a programming language. So it behaves as a language. I mean , you use a language to communicate with people. And python is a language to use to communicate between you and the computer. You talk to computer with Python language and send tasks on your computer and your computer produces output with this codes. Codes?
What a second, what is a code?
Think of your computer as a machine that speaks its own language, like a secret code. Sometimes you want to tell it to do something, like “add these numbers” or “show me a picture.” But you don’t know its secret code. That’s where Python comes in!
Codes in programming languages, like Python, are a way for you to talk to your computer. You use words and symbols in the programming language to create a series of steps, just like a recipe, that the computer can follow to perform a task. And codes are these words and symbols in the programming language.
You can write your instructions with Python codes and then Python translates them into the computer’s system. This way, your computer knows what you want it to do.
We said that Python language behaves like human language. This means that Python has its own grammar. You will need to learn this grammar structure in order to use Python. We call this grammar structure syntax in programming. We will talk about syntax in the next lesson.
Glossary
Python: Python is a computer programming language that humans can understand and write. It’s like giving instructions to a computer using a language that is easy for both people and machines to comprehend.
Code: Code is a set of instructions that you write in a programming language like Python. It’s a bit like creating a recipe for a computer to follow. Each line of code tells the computer to perform a specific task.
Syntax: Syntax in programming is like the grammar rules in a language. It’s the correct way to structure your code so that the computer can understand and execute it. If the syntax is wrong, it’s like speaking gibberish to the computer.
Programming language: A programming language is a set of rules and symbols used to write code. It’s a tool that allows humans to communicate with computers. Python is an example of a programming language, and it’s chosen for its readability and simplicity.