Kahibaro
Discord Login Register

What is Python?

A Friendly Introduction to Python

Python is a high-level programming language. That means it lets you tell the computer what to do using instructions that look relatively close to everyday English, instead of low-level, machine-specific code.

In this chapter, you’ll get a simple, beginner-friendly picture of what Python is and why it’s so popular.

Python in One Sentence

Python is a general-purpose, easy-to-read programming language that you can use to build many different kinds of programs: from tiny scripts to large applications, from websites to data analysis tools.

You don’t need to memorize that. The important idea: Python is a tool that makes programming feel simpler and more readable than many other languages.

Who Created Python?

Python was created by Guido van Rossum, a Dutch programmer. He started the language in the late 1980s and released it publicly in 1991.

The name “Python” does not come from the snake. It comes from the British comedy show **“Monty Python’s Flying Circus.” Due to this reason, Python examples often use silly names like spam and eggs.

Today, Python is maintained and improved by a large open-source community, not just one person.

Why Python Looks and Feels Different

Many people say Python code looks a bit like “executable pseudocode”—meaning it can sometimes read almost like plain English.

Key characteristics that make Python feel different:

Here is a tiny piece of Python code just to look at (you will learn how it works in later chapters):

name = "Ada"
print("Hello,", name)

You don’t need to fully understand this yet. Just notice: it’s short, and it’s fairly readable even for a beginner.

Python Is an Interpreted Language

Python is usually described as an interpreted language.

This has two beginner-friendly consequences:

Versions of Python: 2 vs 3 (What You Need to Know)

Python has had several major versions. The only important point for you as a beginner:

Use Python 3, not Python 2.

Python 2 is an older version that is no longer maintained. Almost all current tutorials, libraries, and tools assume Python 3.

If you see code that looks slightly different (especially around print), it might be older Python 2 code. In this course, everything is Python 3.

What Kind of Language Is Python?

You’ll encounter some common labels:

Why Python Is Popular with Beginners

Python is often recommended as a first programming language. Reasons include:

This means what you learn now can carry over into many different career paths or hobbies.

Where Python Comes From and How It’s Shared

Python is open source:

Because it’s open and free:

You don’t need a special license to use Python at home, at school, or at work.

What You’ll Actually Use as “Python”

When people say “Python,” they might mean different but related things:

In practice, when you “install Python,” you get:

You’ll learn how to install and run Python in the next chapter.

What Python Code Looks Like (Just a Glimpse)

You will explore details later, but here are three tiny examples so you can recognize Python when you see it.

Example 1: Math

result = 3 + 4 * 2
print(result)

Example 2: A Simple Decision

age = 18
if age >= 18:
    print("You are an adult.")

Notice the if and the colon :, and how the next line is indented.

Example 3: A Tiny Loop

for i in range(3):
    print("Loop number:", i)

Again, don’t worry about understanding everything yet. This is just to give you a visual feel for Python code.

How You Will Use Python in This Course

In this course, you will:

Everything will be done using Python 3, and you’ll always see full examples, so you can follow along.

By the end of this course, “What is Python?” will no longer be an abstract question—you’ll have used it to build things yourself.

Views: 20

Comments

Please login to add a comment.

Don't have an account? Register now!