from random import randint def Aufgabe4(): feld1 = [randint(1,20)*2] feld2 = [randint(0,200)] feld3 = [randint(800,1000)] feld4 = [randint(0,20)*3] for i in range(1,20): feld1.append(randint(1,100)*2) feld2.append(feld2[i-1]+randint(0,20)) feld3.append(feld3[i-1]-randint(1,20)) feld4.append(feld4[i-1]+randint(1,20)*3) print(feld1) print(feld2) print(feld3) print(feld4) Aufgabe4()