check if can convert to float python

Solutions on MaxInterview for check if can convert to float python by the best coders in the world

showing results for - "check if can convert to float python"
Mirko
23 Sep 2016
1try:
2    float(element)
3except ValueError:
4    print "Not a float"