Hello, python-list users!
i've just tried the following
price = {'Mon' : {},
'Tue' : {}
}
price['Mon'][0] = 2.7
when i print dict i see:
{'Mon': {0: 2.7000000000000002}, 'Tue': {}}
whats that? why no just 2.7?
Any help and suggestions are very appreciated.
Thanks in advance