Velamuvi AIAcademy

Lesson 30 of 30 · Mini Projects

Where to Go Next

A review of everything you learned in Python for Beginners, how to install Python on your own computer and the best next steps towards AI.

  • 7 min read
  • Beginner
  • Reviewed
In this lesson you will learn
  • A clear picture of everything you can now do
  • How to run Python on your own computer
  • How to keep practising so the skills stay
  • Which path to take next towards AI

Look how far you have come

When you started, print("Hello, world!") was new. Here is what you can do now.

ModuleYou can now...
Getting StartedWrite and run programs, store values in variables and tell data types apart
Working With DataDo calculations, work with text, read user input and convert between types
Making DecisionsCompare values and choose what to do with if, elif, else, and, or and not
LoopsRepeat code with for and while, and control loops with break and continue
CollectionsOrganise data in lists, tuples, sets and dictionaries
FunctionsWrite reusable functions with parameters and return values
Files, Errors and ModulesSave and load data, handle errors and use ready-made modules
Mini ProjectsPlan and build complete programs

These are not "beginner toys". They are the same building blocks used in every Python program, including the ones that train and run AI models.

One program, everything together

This short program uses a list of dictionaries, a function, a loop, a condition, an f-string and built-in functions. A few weeks ago it would have looked like a foreign language. Read it and predict the output before you run it.

Try it yourselfPython
students = [
    {"name": "Ada", "scores": [92, 88, 95]},
    {"name": "Grace", "scores": [78, 85, 80]},
    {"name": "Alan", "scores": [60, 72, 58]},
]

def average(numbers):
    return sum(numbers) / len(numbers)

for student in students:
    mean = average(student["scores"])
    result = "pass" if mean >= 70 else "needs practice"
    print(f"{student['name']}: {mean:.1f} ({result})")

One new thing appears: "pass" if mean >= 70 else "needs practice" is a short way to write an if and else on a single line. You will meet it in Python Intermediate.

Step 1: take the final quiz

Check what has stuck with the Python for Beginners quiz. It covers the whole course, gives an explanation for every answer and can be retaken as often as you like.

Step 2: install Python on your computer

The browser editor is ideal for learning, but real projects live on your own machine.

  1. Download Python from the official website, python.org. On Windows, tick Add Python to PATH during installation.
  2. Install a code editor. Visual Studio Code is free and the most widely used.
  3. Create a file called hello.py containing print("Hello from my computer!").
  4. Open a terminal in that folder and run it:
python hello.py

On macOS and Linux the command may be python3 instead of python.

Now input() waits for you to type, files are saved for real, and you can install any library with pip.

Step 3: practise until it is automatic

Reading about code is not the same as writing it. The fastest way to improve is to build small things without a tutorial.

  • Rebuild the two projects from memory. Peek only when you are stuck.
  • Extend them. Every "Make it your own" idea in the project lessons is a real exercise.
  • Try new small programs: a to-do list saved to a file, a quiz game using a list of dictionaries, a word counter for a text file, a simple contact book.
  • Use the Python Playground whenever you want to test an idea quickly.

Step 4: choose your direction

Python is the foundation. What you build on it depends on the career you want. Each roadmap lists the courses in order.

Not sure yet? That is fine. The next few steps are the same on every path: more Python, then working with data.

A good second course is SQL for Beginners. SQL is the language of databases, where nearly all the data used by AI systems is stored, and it takes only a few hours to learn the basics. See the full course catalogue for everything that is available now. New courses are released one at a time, each one complete.

Final challenge: FizzBuzz

FizzBuzz is a famous programming exercise, often used in job interviews. It needs a loop, the remainder operator and an if, elif, else chain in the right order. You have every tool you need.

Your solutionPython
# Print the numbers from 1 to 15, one per line, but:
#   - for multiples of 3, print Fizz instead of the number
#   - for multiples of 5, print Buzz instead of the number
#   - for multiples of both 3 and 5, print FizzBuzz
Knowledge check

What is the most effective way to get better at programming after finishing this course?

Summary

  • You know the core of Python: data, decisions, loops, collections, functions, files, errors and modules.
  • Take the final quiz to confirm it.
  • Install Python and start writing programs on your own computer.
  • Build small projects regularly. Practice matters more than reading.
  • Pick a roadmap and keep going.

Well done for finishing. This is the hardest part of the journey, and you have done it.

Finished reading? Tick it off to track your progress.