Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 166 Bytes

check-if-string-is-numeric.md

File metadata and controls

11 lines (8 loc) · 166 Bytes

Check if string is numeric

Python makes it easy with isnumeric().

str = "this2009";  
print str.isnumeric()

str = "23443434";
print str.isnumeric()