Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: lists in list
Post: lists in list

hi I make a list in list and append in [0] index a value. but it appends in all index. can andybody know why? code: matrix=[[1]]*3 print(matrix) matrix[0].append(2) print(matrix)output: Output:[[1], [...
kubine General Coding Help 1 2,251 Aug-16-2018, 10:12 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020