Programming puzzles: processing lists!
|
01-28-2019, 08:43 PM
(This post was last modified: 01-28-2019 11:32 PM by Thomas Klemm.)
Post: #258
|
|||
|
|||
RE: Programming puzzles: processing lists!
(01-28-2019 08:16 PM)John Keith Wrote: I think the ability to transpose lists like one would matrices is generally useful. Here's a program to transpose a list for the HP-48GX: Code: « OBJ→ → n Example: { { 1 2 3 } { 4 5 6 } } → { { 1 4 } { 2 5 } { 3 6 } } Cheers Thomas PS: That's how the Python program works. Edit: Fixed typo that John Keith spotted in post #260. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)