Sitemap

Python learning Series 1

3 min readMar 26, 2026

--

Press enter or click to view image in full size

It’s been a while, but I’m finally back to strengthening my Python skills. As I learn, I thought of turning it into a small series.
I’ll be sharing my notes what I understand in a simple way.
Also attaching the YouTube resource that’s helping me — hope it helps you too!(I recommed to check !)
https://www.youtube.com/watch?v=8c74mXV2lJ0&list=PLlGueSbLhZoBRnTsGiDJeTXuQCALOTN07

https://www.w3schools.com/python/

Python Basics for Absolute Beginners

Think of Python like talking to a smart helper using simple English.

If you tell it clearly what to do, it listens and gives the result.

Python is one of the easiest programming languages to learn because it looks clean and is easy for humans to read.

What is Python?

Python is a programming language.

A programming language is just a way to give instructions to a computer.

Real-life example:

It is like giving instructions to a friend:

  • “Open the book”
  • “Read page 5”
  • “Tell me the answer”

In the same way, with Python, you tell the computer what to do.

2) Why Python is called easy

Python is called a high-level language.

That means it is closer to human language and easier to understand.

Computers actually understand only very low-level machine language like 0 and 1.

Python helps us write in an easier form, and then it gets converted so the computer can understand it.

Real-life example:

Imagine:

  • You speak English
  • Your friend speaks only Japanese
  • A translator stands between you both

Python works a little like that translator.

3) Interpreted language

Python is an interpreted language.

That means Python reads your code and runs it step by step.

Languages like C or C++ are usually compiled first, but Python is often run line by line.

Real-life example:

It is like reading a recipe step by step while cooking, instead of preparing the whole recipe into a book first.

4) Variables

A variable is a name used to store a value.

Get The Commoness’s stories in your inbox

Join Medium for free to get updates from this writer.

You can think of a variable like a box with a label.

Example:

age = 22
name = "riya"

Here:

  • age is a box storing 22
  • name is a box storing "Riya"

Real-life example:

Imagine you have jars in a kitchen:

  • one jar has sugar
  • one jar has salt

The jar name is like the variable name.
The thing inside is the value.

5) Rules for variable names

Variable names can have:

  • letters
  • numbers
  • underscore _

But:

  • they should start with a letter or underscore
  • they should not start with a number

Example:

name = "Sam"     # correct
age2 = 10 # correct
_myname = "Ria" # correct
2age = 10 # wrong

Also, Python is case-sensitive.

That means:

name
Name
NAME

are all different.

6) Dynamically typed

Python is dynamically typed.

This means you do not need to say the type before storing the value.

Example:

age = 22
name = "Riya"
is_student = True

Python understands by itself:

  • 22 is a number
  • "Riya" is text
  • True is true/false

Real-life example:

You don’t need to put a sticker saying “this is a toy” on a toy car. You can see what it is. Python also figures it out.

--

--

I'm sharing a collection's of summary everything I've learned in cybersecurity basic knowledges ,walkthough and CTF's