Learn Python programming

CodeKnowledge is the website if you want to learn the basics of programming in Python for free

At Code Knowledge, you will learn the basics of Python programming with articles and examples written in simple, understandable language for both beginners and experienced programmers.

Learn Python Programming coding

Who knows, this may be the start of your own game or app that you will develop into something extraordinary.

Get started with Python

Why learn Python?

Learn Python Programming

Simple and free

Everything is available for free online, and it’s easy to get started. Because Python is object-oriented, it’s easy to build powerful programs that are clear to understand. Python is platform-independent, which means that you can run Python on all operating systems such as Mac, Windows or Linux.

Lär dig Java Programmering

Popular and well-established

Python is one of the most popular programming languages available and one of the most common languages to start with when learning to code. There is an extensive library of ready-made tools you can use, and whatever project you are working on, you will always encounter problems, then it makes it easier to have a large community of programmers around the world where we can help each other. 

Programmera Java

Python is everywhere

It’s on the computer’s desktop, and it’s in the phone’s applications, it’s in the credit card, and so on. Python is almost everywhere, therefore, making the possibilities to what you can create almost limitless.

Chapters at Code Knowledge: Python

We have divided this series of articles on learning Python in a simple and fun way into seven different chapters. Each chapter explains how to get started with programming in Python. You don’t need any prior knowledge; we will take everything from the start.

Kom igång Java Programmera


Get a thorough introduction to help you get started with Python programming. We will show you everything from inspiration for what you can do with programming to how you get started and start coding your first programs.


Datatyper Variabler Java

Data types

In this chapter, we will take a closer look at data types, variables and constants, where we will see how we use variables to store data and make several different calculations.

Data types

If satser Java

If statement

In the third chapter, we will explain the conditional statements in Python that enable us to control the logic of our programs. We will see how we can use the if statement, the else statement and the else-if statement to control our programs to perform different code blocks.

If statement

Loopar Java


In this chapter, we will see how the three loops in Python, the While-loop, For-loop, works. Loops are very useful in programming when you want to reuse a certain code sequence several times.


Metod Java Metoder


Functions in Python are a way to reuse and structure your code. It is a useful and powerful tool because methods are entirely independent of any other code. We will also learn what is meant by recursion, where one functions calls another functions.


Array Java ArrayList


A list is a collection of elements stored in what can be seen as a list or table. We use an list as a way to store and structure data.


Learn Java at CodeKnowledge

Learn programming Java Python


Get started with Java