Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

strip function in python

lol = '     lol   '
print(lol)
# normal output =      lol   
lol = '     lol    ' 
print(lol.strip())
# strip output = lol
# Cool right
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #strip #function #python
ADD COMMENT
Topic
Name
5+6 =