Claude AI
Zero to Hello World
Your First Claude + Python Lesson
No Python installation. No previous programming knowledge. Start with Claude, create your first Python program and run it directly inside this lesson.
Lesson Goal
We are going to start from absolute zero.
By the end of this lesson you will:
- know what Claude is,
- understand what a prompt is,
- ask Claude to create Python code,
- understand the Python
print()command, - run Python inside the Learn With Champak editor,
- produce your first Hello, World! output,
- make deliberate errors,
- and ask Claude to help you understand them.
Lesson Contents
1. What is Claude? 2. Important Claude Links 3. Your First Prompt 4. What is Programming? 5. Ask Claude for Your First Program 6. Run Python Here 7. Understand print() 8. Experiment 9. Make and Fix Errors 10. Text versus Numbers 11. Practice 12. Quick Test 13. Homework1. What Is Claude?
Claude is an artificial intelligence assistant created by Anthropic. You can talk to it in ordinary language and ask it to explain ideas, help you learn, or help you understand and write computer code.
We can communicate with Claude using ordinary language.
For example, we can ask:
Or:
Or:
2. Useful Claude Links
https://claude.ai/
https://console.anthropic.com/
https://docs.anthropic.com/en/docs/intro-to-claude
https://docs.anthropic.com/
https://editor.learnwithchampak.live/python-starter/editor/super/
3. Your First Claude Prompt
Open Claude.
Type:
Read Claude's answer.
Then continue the same conversation:
What Is a Prompt?
A prompt is simply an instruction, question or message that we give to an AI.
Student: No.
Teacher: Correct. We can use normal language. The instruction we give Claude is called a prompt.
4. Better Prompts
Compare:
with:
The second prompt gives Claude information about the learner.
This information is called context.
5. What Is Programming?
Ask Claude:
The basic idea is simple.
A computer program is a set of instructions given to a computer.
For example:
Display Hello
In Python, we can express this instruction using:
print("Hello")
6. Ask Claude for Your First Program
Give Claude this prompt:
Claude should produce something similar to:
print("Hello, World!")
7. Run Python Here
This is the Learn With Champak online Python editor.
Type or paste:
print("Hello, World!")
Then press Run.
Expected Output
Hello, World!
What Just Happened?
↓
CLAUDE
↓
PYTHON CODE
↓
LEARN WITH CHAMPAK EDITOR
↓
PYTHON
↓
OUTPUT
8. Understand print()
Return to Claude and ask:
The most important command is:
print()
It tells Python to display something.
The text:
"Hello, World!"
is placed inside quotation marks because Python must understand that it is text.
9. Experiment
Change the program to:
print("Hello, Champak!")
Run it.
Now try:
print("I am learning Python.")
Several Lines
print("Hello!")
print("I am learning Python.")
print("I am learning with Claude.")
Introduce Yourself
print("Hello!")
print("My name is Champak.")
print("I am learning Python.")
print("This is my first program.")
Replace the name with your own name.
10. Ask Claude to Modify Your Program
Give Claude:
Copy Claude's modified program into the editor and run it.
11. Make an Error Deliberately
Enter:
print("Hello, World!)
One quotation mark is missing.
Run the program.
Python should display an error.
Ask Claude for Help
The corrected version is:
print("Hello, World!")
Use Claude as a Tutor
Avoid simply asking:
A better learning prompt is:
12. Text and Numbers Are Different
Run:
print(100)
Then:
print(20 + 30)
Expected output:
50
Now run:
print("20 + 30")
Expected output:
20 + 30
Why?
13. Mini Challenge
Without asking Claude first, make Python display:
Learn With Champak
Claude AI Course
My First Python Program
Hello, World!
Try it yourself.
Show one possible solution
print("Learn With Champak")
print("Claude AI Course")
print("My First Python Program")
print("Hello, World!")
14. Practice
Write a program that displays your name.
Display:
I love Python
Display three lines about yourself.
Ask Python to calculate:
25 + 75
Deliberately make an error.
Copy the error into Claude and ask Claude to explain it.
15. Let Claude Test You
Give Claude this prompt:
Answer Claude's question.
Then ask Claude for another one.
16. Quick Test
Answer from memory first. Open the answer panel only after completing all ten questions.
print() do?
print(10 + 20)
print("10 + 20")
Show Answers
1. Anthropic
2. A question, message or instruction given to an AI.
3. Python
4. It displays output.
5. Because Python must know it is text.
6. 30
7. 10 + 20
8. Learn With Champak Online Python Editor.
9. No. Errors are a normal part of programming.
10. Ask Claude to explain the problem, provide a hint and then help understand the correction.
17. Homework
Create a program that displays:
****************************
MY FIRST PROGRAM
****************************
My name is __________.
I am learning Python.
I am learning Claude AI.
I am learning with Champak.
Use only:
print()
18. What Have We Learned?
We started without assuming any programming knowledge.
You now understand:
- what Claude is,
- what a prompt is,
- what Python is,
- how
print()works, - why text uses quotation marks,
- how to run Python online,
- how errors help us learn,
- and how Claude can become your programming tutor.
Your First Program
print("Hello, World!")
Zero to Hello World — Complete
↓
OPEN CLAUDE
↓
WRITE A PROMPT
↓
GET PYTHON CODE
↓
RUN IT IN OUR EDITOR
↓
Hello, World!
Next Lesson
Claude + Python: Input, Output and Variables
Our next program will ask:
What is your name?
and respond:
Hello Champak!
After learning the Python basics, we will make another major jump:
↓
CLAUDE API
↓
CLAUDE
↓
AI RESPONSE
Learn With Champak
Learn. Run. Experiment. Understand.