Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
check if a string is float python
Eric Brown - Cal
Programming language:
Python
2021-01-31 23:44:28
0
Q:
check if a string is float python
KItis
Code:
Python
2021-01-31 23:49:49
try: float(element) except ValueError: print "Not a float"
1
Tags
string
python
check
New to Communities?
Join the community