You are on page 1of 18

Microbit and Coding Terms

Library
A code library is a compilation of code originally written for a particular software
application
While True Statements
While True means loop forever until false

Must indent below

“While True:

[code]”
Constants and Comments
“ “ “ is for block comments (docstrings) and allow many lines to be commented as
documentation

# is for line comments and explains subsequent line of code


Display
Images
DIY Images
8 Ball
Compass
Speech
Music
Solve Math Problems
Count and Repeat
Make Decisions
Count and Repeat
Writing Functions
Global and Local variables

You might also like