index
:
suspect-devices/circuitpython
1.x
2.x
3.x
4.0.x
4.1.x
4.x
5.0.x
5.1.x
5.3.x
6.0.x
6.1.x
6.2.x
audiocore-rawsample-sinewave
azure
azure-pipelines
cross
dm-mixer
dynamic-native-modules
encoding
esp-extra-scripts
fix_typo_spanish
iabdalkader-cc3k-update
jepler-try-ubuntu-20.04
main
master
parse-bytecode
reentrant-gc
stable
travis-clang
travis-esp8266
travis-stackless
travis-testing
type_hints
CircuitPython - a Python implementation for teaching coding with microcontrollers
feurig
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
float
/
list_index.py
blob: 13e4557af7513a92e71d2106ad404985e826fd91 (
plain
)
1
2
3
4
5
6
7
8
x
=
[
1
,
2
]
print
(
x
[
1
])
try
:
print
(
x
[
1.0
])
except
TypeError
:
print
(
"TypeError"
)