micropython: add micropython component
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
x = [1, 2]
|
||||
|
||||
print(x[1])
|
||||
|
||||
try:
|
||||
print(x[1.0])
|
||||
except TypeError:
|
||||
print("TypeError")
|
Reference in New Issue
Block a user