Skip to Main Content
BBC Micro:bit in Practice
book

BBC Micro:bit in Practice

by Ashwin Pajankar, Abhishek Sharma, Sandeep Saini
December 2022
Intermediate to advanced content levelIntermediate to advanced
292 pages
5h 45m
English
Packt Publishing
Content preview from BBC Micro:bit in Practice

4

Advanced Python

In the previous chapter, we got acquainted with the basics of Python programming syntax. While there was nothing specific to MicroPython and Micro:bit, the knowledge we learned is like a Swiss Army knife that can be used in every Python programming project.

In this chapter, we will continue our journey of exploring Python syntax. In the final part of this chapter, we will also explore some MicroPython- and Micro:bit-specific functionality. We will explore the following list of topics together:

  • Lists, tuples, and dictionaries
  • Functions
  • Recursion
  • Object-oriented programming with Python
  • Getting help for built-in modules
  • Retrieving system properties with code

Let’s explore advanced concepts in programming.

Technical requirements ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Official BBC Micro:bit User Guide

The Official BBC Micro:bit User Guide

Gareth Halfacree

Publisher Resources

ISBN: 9781804610121Supplemental Content