Skip to content » Microbit Unit Home » 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.


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


good bad example data type issue

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