Introduction to python 1

🎯 Goal of This Lesson

You’re learning how to instruct a computer to do something — in this case, a simple math operation:
Add 5 and 3

To do that, you’re learning to use a programming language called Python.


🧠 Key Concept: Programming Language

Just like humans speak English or Spanish to communicate, we use Python to talk to computers.
We give it commands (instructions), and the computer does what we say.


✅ Your First Instruction: print(5 + 3)

Let’s break it down:

print(5 + 3)
  • print(...) → This tells the computer to show something on the screen.
  • 5 + 3 → This tells the computer to add 23 and 7.
  • So print(5 + 3) means:
    “Add 23 and 7, and show the result.”

When you run that line, the computer will display:

8

🧪 Try It Yourself

Open your Python environment (Jupyter, code editor, or online platform) and type:

print(5 + 3)

Then click Run Code.


💡 What You Just Did

  • You wrote your first line of Python code
  • You gave the computer an instruction
  • The computer followed your command and gave you the result

Leave a Reply

Your email address will not be published. Required fields are marked *