Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Append 2d empty lists
Post: RE: Append 2d empty lists

(Oct-19-2020, 09:18 PM)bowlofred Wrote: Your first line has not made a list of 5 different lists inside, it's made a list with 5 copies of the same list inside. >>> l = [[]] * 5 >>&g...
NMMST General Coding Help 2 2,797 Oct-19-2020, 09:25 PM
    Thread: Append 2d empty lists
Post: Append 2d empty lists

Hi there! I wanted to store my functions result in a 2d list. The function returns 5 values and has to run 100 times in a for loop. I tried to initiate a storage list by ding this: list1 = [[]]*5whic...
NMMST General Coding Help 2 2,797 Oct-19-2020, 08:56 PM
    Thread: Creating symbolic matrix automated
Post: Creating symbolic matrix automated

Hi, I have to create a matrix A = [ x5^5 X4^4 X3^3 X2^2 X1 1]
NMMST General Coding Help 2 2,061 Oct-04-2020, 08:19 PM

User Panel Messages

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