List replication operator

Paul tallpaul at gmail.com
Thu May 24 19:05:32 EDT 2018


How would one make a multi-dimensional list now, with truly-separate sub
lists? Is there just no way to do it with the replication operator? IE,
would I just have to do
 X = [[], [], [], [], []]
or perhaps write a function to insert new sub lists into a list, or...?
 Thanks
> Paul C.
>>


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /