```if-not:javascript,python
Write function `parseFloat` which takes an input and returns a number or `Nothing` if conversion is not possible.
```
```if:python
Write function `parse_float` which takes a string/list and returns a number or 'none' if conversion is not possible.
```
```if:javascript
Write function `parseF` which takes an input and returns a number or null if conversion is not possible. The input can be one of many different types so be aware.
```
def parse_float(string):
    
    try:
        return float(string)
    except:
        return None




    #try:
        #return float(string)
    #except ValueError:
        #return None

def parse_float(string):
    
    try:
        return float(string)
    except:
        return None




    #try:
        #return float(string)
    #except ValueError:
        #return None
