I have a dictionary such that the key is the title of the values and the value is a list for example:
dict = {'name':['a','b','c'], 'price':['0.66','1.50','0.49'], quantity:['10','5','7']}
and I would like this to be something like:
dict = {'name':['a','b','c'], 'price':[0.66,1.50,0.49], quantity:[10,5,7]}
where the numbers are there values.
p.s. sorry if i got anything wrong I don't really know what I'm doing.
What I have tried:
{k:int(v) if v.isdigit() else v for k,v in s.items()}