bye, element...
Natália Catunda
Posted on June 15, 2020
Remove in a randomic way any array elemet.
List=["baby","computer","mouse","car","nootebook"]
print(List.pop())
print(List)
and if you want... remove a specific element you can print them
Like:
list=["books","store","location"]
print(list.pop(2))
💖 💪 🙅 🚩
Natália Catunda
Posted on June 15, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.