Python zum Java -Konverter
def shiftLeft(source,k):
i=0
while(i<=(len(source)-k-1)):
source[i]=source[i+k]
i=i+1
i=len(source)-1
while(i>=len(source)-k):
source[i]=0
i=i-1
print(source)
source=[10,20,30,40,50,60]
shiftLeft(source,3)
Yucky Yak