back280 / Eingabe_Ausgabe_Code

Share Code
1 stars 0 forks source link

Problem Übergabe #1

Closed back280 closed 9 years ago

back280 commented 9 years ago

myColorList = [] #leere liste definiert def setup():

size(600, 600)
background(120) #warum kann ich hier nicht G einsetzten und erhalten einen random background

def draw():

for i in range(1):# eine ausgabe
    G = int(random(100, 200))#G liegt zwischen 100 und 200
    myColorList.append(G)#G wir in die liste angefügt
    print(myColorList)#ich geben einen wert aus
ff6347 commented 9 years ago

Is this still an active problem?