Hi, I need to know how to remove values to a python array
The array documentation is here. Python is generally very well documented.
Consider using a list. It does not force you to have only one type in your list as array does. Also a list can hold objects of any type so it is much more flexible.
l = list({1, “two”, 1028})
for l_item in l:
… print(l_item)
…
two
1
1028
del(l[2])
for l_item in l:
… print(l_item)
…
two
1