469,282 Members | 1,822 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

Get a number from Matrix


I'm trying to make a code that can take an 5 number from a matrix or number list, for example I got the following numbers

1|2|3|4|5 1|2|3|4|5 1|2|3|4|5 => 1|2|3|4|5 What I'm looking whit this is to get a number from first
1|2|3|4|6 1|2|3|4|6 => 1|2|3|4|6 column and move to the next column and choose another
1|2|4|7|8 1|2|4|7|8 number but only choose the number it's the same as the
matrix=[1|2|4|5|6 => 1|2|4|5|6 number from column
1|2|8|6|7 1|2|8|6|7
1|2|8|7|8 1|2|8|7|8

number= 1 => 12 => 123 => 1234 => 12345 ''<- Final number''

Fairly new to python I have tried testing whit numpy library and did some research on my own and no luck yet.
Mainly trying to pull it off on console, if you got any documentation that can help me solve my problem i would appreciate any help.

Hope I explained my self well enough to be clear.

Thanks for any response much appreciate it.

Aug 21 '21 #1
0 1673

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by memocan | last post: by
15 posts views Thread by christopher diggins | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.