Oct-05-2019, 04:31 PM
adt Wrote:can it be presumed that at present there is no built in function in python that can return True for a string like "4.5" ?There is no such function. The easiest way to check if a string represents a float is to call the float() function and catch the potential ValueError.