Programming: Getting started

What is Python?

Illustration of young developers building a program using the Python programming language

graphicwithart / Shutterstock.com

Python is a high-level programming language known for its simplicity and readability. It's a versatile language used in various domains such as web development, data analysis, artificial intelligence, scientific computing and more.

One of Python's major features is its interpreted nature. Unlike compiled languages where code is translated into machine language before execution, Python code is executed line by line by the Python interpreter. This allows for quick testing and debugging, making the development process more efficient.

This course does not presume any previous knowledge of programming or Python.

Programming fundamentals

This video covers the fundamentals of programming in just under 12 minutes.

Summary

This video discusses the fundamental building blocks of programming languages, including:

  • statements in programming languages
  • syntax rules that govern the structure of statements
  • control flow statements such as 'if statements'
  • conditional statements and loops such as 'while' and 'for' loops
  • creating and using functions to hide complexity and reuse code
  • the importance of modularising programs into functions for efficiency
  • the use of libraries in modern programming languages
  • a preview of future topics on algorithms.

If you are able to follow along and understand most of what the narrator is saying, that is great. If it is all new to you, please ensure you read the weekly activities carefully, try out all the example code, and ask questions when you don’t understand something, or when your code doesn’t work.