What is Python?
Python is a programming language. Programming languages allow humans
to give instructions to computers.
Python is popular because it is:
- Easy to read
- Used in real jobs (games, websites, AI, data science)
- Great for beginners
Think of it this way:
Python is like writing very clear instructions that a computer follows exactly.
What is a function?
A function is a block of code that performs a job.
Some functions are already built into Python. Others are written by programmers.
Real-world example:
A microwave has a “Start” button. When you press it, a series of steps happen automatically.
That is similar to how a function works.
What does print() do?
print() is a built-in Python function.
It tells Python to display text on the screen.
If you write:
print("Hello world")
Python will show:
Hello world
Why “Hello world”?
Almost every programmer starts with a Hello world program.
It proves:
- Your code runs correctly
- The computer understands your instructions
- You are ready to move on to harder tasks
Hello World Challenge
Your task is to write Python code that prints exactly:
Hello world
Rules:
- Use
print()
- Capital letters must match
- No extra spaces or text
Student Name:
✅ Correct! Well done.
❌ Not quite. Try again.