Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

isnumeric() in python

number = "34e.l5p#"
separators = ""
for char in name:
  if name.isnumeric():
    separators = separators + char
print(separators)   # .isnumeric() only prints the separators of the name(4.#) 
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
9+7 =