mirror of
https://github.com/W3SLAV/micropython.git
synced 2025-06-21 21:15:35 -04:00
6 lines
87 B
Python
6 lines
87 B
Python
a = (1, 2, 3)
|
|
a = a + a + a
|
|
b = (0, 0, a, 0, a, 0)
|
|
print(a.count(2))
|
|
print(b.count(a))
|