New submission from Jos Dechamps :
round(0.3368655,6) returns 0.336865 instead of 0.336866
--
messages: 397238
nosy: dechamps
priority: normal
severity: normal
status: open
title: round() gives wrong result
type: behavior
___
Python tracker
<ht
New submission from Jos Dechamps:
After creating a list of lists, changing one element, leads to changes of all
the elements:
v=[[]]*10
v
[[], [], [], [], [], [], [], [], [], []]
v[3].append(3)
v
[[3], [3], [3], [3], [3], [3], [3], [3], [3], [3]]
v=[[]]*10
v