[New-bugs-announce] [issue40123] append() works not correct
merli
report at bugs.python.org
Tue Mar 31 05:24:14 EDT 2020
New submission from merli <bmerling at web.de>:
Please try out and look bug in this example:
Liste = []
StringL = ["Nr.:", "NR", "Bielefeld", "Paderborn", "Lemgo"]
for i in range (10):
StringL[1] = str(i)
Liste.append(StringL)
print (StringL)
#print (Liste)
print ()
print()
for i in range (10):
print (Liste[i])
----------
messages: 365371
nosy: merli
priority: normal
severity: normal
status: open
title: append() works not correct
type: behavior
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40123>
_______________________________________
More information about the New-bugs-announce
mailing list