+ 1
how to dynamically infer an element by array index?
2 3 index=int(input("Input number from 0 to 2")) list_movie={"Swim","Fight","Fly"} print(list_movie[index]) #How true write the line?
2 Respuestas
+ 2
index is not possible for set
list_movie = [.....]
not{... }
+ 2
Jan Markus bist du wieder fit?