A weird problem about append list | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

A weird problem about append list

The 'space_c' should contain several 'space', and it should be like '100(1)'. But I found that if I append space into space_c, all of the list in space_c will be the same, just like what is shown in '100'. Did I do anything wrong? https://code.sololearn.com/cYsFDE5jzAD9/?ref=app https://code.sololearn.com/c3AjZw2TtPnF/?ref=app

12th Apr 2018, 3:28 PM
Tom2003611
Tom2003611 - avatar
1 Answer
0
where is your code?
12th May 2018, 7:46 PM
$ยข๐Žโ‚น๐”ญ!๐จ๐“
$ยข๐Žโ‚น๐”ญ!๐จ๐“ - avatar