DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to remove a string in python
Food
=
[
"Apple"
,
"lemon"
,
"Mango"
]
Food
.
append
(
"Cake"
)
Food
.
remove
(
"lemon"
)
for
x
in
Food
:
print
(
x
)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#string
#python
ADD COMMENT
Topic
COMMENT
Name
8+5 =
Submit