Python mendapatkan elemen dengan indeks
# To return the index of the first occurence of element x in lst
ind = lst.index(x)
Nutty Narwhal
# To return the index of the first occurence of element x in lst
ind = lst.index(x)
["Red","Green","White" ,"Black"]