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 trailing zeros in python
a_string = a_string.strip("0")
Source by kite.com #
PREVIOUS
NEXT
Tagged:
#remove
#trailing
#zeros
#python
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit