smartyfy.mrindigi.com

Learn by doing

Build skills.
Create what’s next.

Clear lessons. Practical projects.
Ideas you can make your own.

Emerald steps curve through an ivory architectural sculpture toward a coral arch.

Interactive example

Python · Your first function

Try it
def greet(name): return f"Hello, {name}!"

Understand

Make sense of an idea with a clear explanation.

Build

Put the idea to work, one small project at a time.

Practice

Try it yourself. Check your answer. Keep going.

Explore learning paths

Find your starting point.

6 learning paths

60 written lessons available

Web Development Pro

From a blank page to the web.

Open classroom
36 written lessons available

AI Foundations for Students

Get curious about intelligent tools.

Open classroom
200 written lessons available

Databases & SQL

Ask better questions of your data.

Open classroom
200 written lessons available

Quantum Computing

Explore a different way to compute.

Open classroom

All six featured paths have written lessons available now. Open a classroom and start learning.

View the full course catalogue ↗

A path you can follow

From curious
to capable.

Start with one idea. Turn it into something you understand, then something you can do. Here’s a simple way into Python.

  1. Meet the basics

    Begin with what programming is, how Python works and your first small program.

    Read the first lesson ↗
  2. Find your next project

    Follow the published Python classroom through examples, exercises and projects.

    Open the Python classroom ↗
  3. Try. Check. Repeat.

    Make a prediction, explore an example and use the explanation to check your thinking.

    Try the interactive example ↓

A small idea, made practical

Make your first
function personal.

A function gives a reusable set of instructions a name. This one accepts a name and returns a greeting. Change the input and predict what comes back.

This is an interactive illustration of the fixed function shown here, not a Python code runner. Your input stays on this page. No scores or progress are saved.

Python · Function preview

A greeting, just for you.

def greet(name): return f"Hello, {name}!" print(greet("Ada"))

An empty input uses Ada. Maximum 40 characters.

Hello, Ada!
Why does the greeting change?

The value you enter becomes the function’s name parameter. The f-string inserts it between “Hello, ” and “!”. The function returns that string; print() displays it.

Try this next

Predict the result for greet("Sam"), then enter Sam above. You should see Hello, Sam!. The quotation marks identify a Python string; they aren’t part of the greeting.

One lesson. A new possibility.

Your next step doesn’t have to be a big one.

Explore the Python classroom