Added projects from micro:bit editor. /JL

This commit is contained in:
Jan Lerking
2025-04-22 12:15:21 +02:00
parent 4be318f938
commit 35326109f4
9 changed files with 128399 additions and 94 deletions

16
avanceret/matrix/test.py Normal file
View File

@@ -0,0 +1,16 @@
from collections import deque
from time import sleep
kol = [0] * 5
d_kol = deque(kol)
test = True
while test == True:
d_kol.pop()
d_kol.appendleft(1)
print(d_kol)
sleep(0.5)
for i in range(5):
test = False
if d_kol[i] == 0:
test = True