Skip to content
Learnearn.uk » Microbit Unit Home » Debugging

Debugging

There are some type check problems in your code. Please correct them and try running again

The problem

there are some type checking errors in your code, please correct them and try running again

This error is most commonly caused by typing in a floating point (number with decimal places) number in to a box that wants a whole number.

Solution

Simply change your code so that it uses a whole number instead of a number with a decimal place!

Example

good bad example data type issue

This will have some debugging solutions for Microbit Python when I hit some issues!