Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

del keyword in python

# Can be used to del or delete any type of data-type
classtype = []
classtype.append("hello")
print(classtype) # Gives "hello": ["hello"]
del classtype[0]
print(classtype) # Gives nothing: []
 
PREVIOUS NEXT
Tagged: #del #keyword #python
ADD COMMENT
Topic
Name
7+9 =