index
:
openmano-mpy
master
MicroPython source and hardware configuration for OpenMano
Damien George
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
basics
/
tuple_count.py
blob: 7f42ede28c75586c61467026c88b0a171a4275c8 (
plain
)
1
2
3
4
5
a
=
(
1
,
2
,
3
)
a
=
a
+
a
+
a
b
=
(
0
,
0
,
a
,
0
,
a
,
0
)
print
(
a
.
count
(
2
))
print
(
b
.
count
(
a
))