Added test. /JL

This commit is contained in:
Jan Lerking
2025-04-09 15:42:01 +02:00
parent 0ab1024e72
commit cffc195128

16
avanceret/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