wie sehen arrays in python aus? brauch ich ganz dringend....
meine idee (aus php abgeleitet):
Code: Alles auswählen
from array import *
strings = array():
strings[0] => "Hallo"
strings[1] => "welt"
strings[2] => "what's up"
Code: Alles auswählen
from array import *
strings = array():
strings[0] => "Hallo"
strings[1] => "welt"
strings[2] => "what's up"
Code: Alles auswählen
strings = list()
strings.append("Hallo")
strings.append("Welt")
strings.append("what's up")
Code: Alles auswählen
liste = ["hello", "word", "whats up"]