I need to extract the name of the constants and their corresponding `values` from a `.txt` file into a `dictionary`. Where `key = NameOfConstants` and `Value=float`.

The start of the `file` looks like this:

```
speed of light             299792458.0        m/s
gravitational constant     6.67259e-11        m**3/kg/s**2
Planck constant            6.6260755e-34      J*s
elementary charge          1.60217733e-19     C   

```

How do I get the `name` of the constants easy? 

This is my attempt:

```
with open('constants.txt', 'r') as infile:
    file1 = infile.readlines()
    constants = {i.split()[0]: i.split()[1] for i in file1[2:]}

```

I'm not getting it right with the `split()`, and I need a little correction!