do like this
1234 % k
123 % k
124 % k
134 % k
234 % k
How do I do this?
Can you explain what the intent is?
Sounds like a loop.
i actually wanna get all possible 3 digit combos off of a 4 digit number from 0th index to its last one
Probably easier to treat the value as a string
from math import comb
Обсуждают сегодня