New submission from merli <[email protected]>:
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 <[email protected]>
<https://bugs.python.org/issue40123>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com