I have a dictionary named \"location\" like this:
{
\'WA\': [
\'47.3917\',
\'-121.5708\'
],
\'VA\': [
\'37.7680\',
\'
You can use dictionary comprehension to construct a dictionary which has the values converted to floats, like this
print {k:map(float, locations[k]) for k in locations}
As suggested by @Grijesh in the comments section, if you are using Python 3,
print({k:list(map(float, locations[k])) for k in locations})