Have you ever wanted to become a developer but didn't know where to start?

Don't worry! You don't need to be an expert to start coding.

Let's start with Python.

What is Python?

Python is a programming language. We use it to build websites, automate tasks, work with data, and develop AI applications.

The best part? Python is easy to read and understand.

1. Your First Program

Let's write your first Python code.

print("Hello, World!") 

Output:

Hello, World! 

Congratulations! You've written your first Python program.

2. Variables

Variables store information.

name = "Selva" age = 22 print(name) print(age) 

Output:

Selva 22 

3. Data Types

Python has different types of data.

name = "Python" # String age = 22 # Integer price = 99.5 # Float status = True # Boolean 

4. Operators

We use operators to perform calculations.

a = 10 b = 5 print(a + b) print(a - b) print(a * b) print(a / b) 

5. Conditions

Conditions help Python make decisions.

age = 20 if age >= 18: print("Eligible") else: print("Not eligible") 

6. Loops

Loops help us repeat code.

For Loop

for i in range(1, 6): print(i) 

While Loop

i = 1 while i <= 5: print(i) i += 1 

7. Functions

Functions help us reuse code.

def greet(): print("Welcome to Python!") greet() 

What's Next?

Start learning these topics one by one:

  • Variables
  • Data types
  • Operators
  • Conditions
  • Loops
  • Functions
  • Lists and dictionaries

After learning the basics, try building small projects.

A Small Challenge for You!

Try writing a Python program that adds two numbers.

a = 10 b = 20 # Write your code here 

Can you complete it?