HP49-HP50 Lists of combination
|
12-19-2022, 01:50 AM
Post: #2
|
|||
|
|||
RE: HP49-HP50 Lists of combination
This works for the HP-48GX:
Code: « It is mostly a verbatim translation of the following Python program: Code: def comb(m, s): The use of a compiled local variable is inspired by Gerald's program. Example Assuming that the program is saved as comb: 4 ENTER { x2 x3 x4 x5 x6 x7 } comb { { x2 x3 x4 x5 } { x2 x3 x4 x6 } { x2 x3 x4 x7 } { x2 x3 x5 x6 } { x2 x3 x5 x7 } { x2 x3 x6 x7 } { x2 x4 x5 x6 } { x2 x4 x5 x7 } { x2 x4 x6 x7 } { x2 x5 x6 x7 } { x3 x4 x5 x6 } { x3 x4 x5 x7 } { x3 x4 x6 x7 } { x3 x5 x6 x7 } { x4 x5 x6 x7 } } I'm sure that there's room for improvements. References |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP49-HP50 Lists of combination - Gil - 12-18-2022, 11:01 PM
RE: HP49-HP50 Lists of combination - Thomas Klemm - 12-19-2022 01:50 AM
RE: HP49-HP50 Lists of combination - DavidM - 12-19-2022, 02:53 AM
RE: HP49-HP50 Lists of combination - Gil - 12-19-2022, 10:38 AM
RE: HP49-HP50 Lists of combination - Thomas Klemm - 12-19-2022, 12:38 PM
RE: HP49-HP50 Lists of combination - Gil - 12-19-2022, 01:42 PM
RE: HP49-HP50 Lists of combination - Thomas Klemm - 12-19-2022, 03:10 PM
RE: HP49-HP50 Lists of combination - Gil - 12-19-2022, 03:35 PM
RE: HP49-HP50 Lists of combination - Thomas Klemm - 12-19-2022, 04:03 PM
RE: HP49-HP50 Lists of combination - Werner - 12-21-2022, 01:42 PM
|
User(s) browsing this thread: 2 Guest(s)