KevsRobots Learning Platform
65% Percent Complete
By Kevin McAleer, 1 Minute

MicroPython has a list of special keywords that cannot be assigned to variables because they have a special meaning in MicroPython. They are known as reserved words.
Here is a list of all the reserved words that MicroPython understands:
| Reserved Words | |||||
|---|---|---|---|---|---|
and |
as |
assert |
break |
class |
continue |
def |
del |
elif |
else |
except |
exec |
finally |
for |
from |
global |
if |
import |
in |
is |
lambda |
nonlocal |
not |
or |
pass |
raise |
return |
try |
while |
with |
yield |
True |
False |
None |
We’ll dive into some of these in more detail later.
You can use the arrows ← → on your keyboard to navigate between lessons.
Comments