änderung

This commit is contained in:
Michael S. 2024-01-12 22:40:10 +01:00
parent 2c18e417fb
commit e49d31babc

View file

@ -33,10 +33,10 @@ def change_block(feld,string=str,position=list):
block_len += 1 block_len += 1
print(block_len) print(block_len)
for zeichen in string: for zeichen in string:
feld[position[0]][position[1]] = zeichen
position[0] += 1 position[0] += 1
if position[0]== block_len-1: if position[0]== block_len-1:
position[0] = 0 position[0] = 0
feld[position[0]][position[1]] = zeichen
return feld return feld