What is the Sandbox?
This "Sandbox" is a place where Programming Puzzles & Code Golf (PPCG) users can get feedback on prospective challenges they wish to post to the main page. This is useful because writing a clear and fully specified challenge on the first try can be difficult. There is a much...
CMC (potentially main): Given two circles with different non-zero radii represented by their centers and radii, calculate the four slopes of the four lines tangent to both circles.
I once attempted a similar problem to your CMC. Given two circles (with equal radii) and their velocities (along with their positions), find the exact time and point of collision
@Mego Can you help me with something? If I have an Actually list, call it L and an index, I, how can I get L[I]? Sorry for bothering you, but I really couldn't find it in the docs.
In decimal system: $...-3, -2, -1, 0, 1, 2, 3...$
In binary system: $...-11, -10, -1, 0, 1, 10, 11...$
In unary system: $-111, -11, -1, \text{ ??? }, 1, 11, 111...$
I only found a related question but with no answers so far:
unary numbers: base-1 numeral system
If you want to avoid pings, put a ZWSP between the at symbol and the name. But please stop messing around here with chat testing. We have a room for that that I'm sure you are aware of
Mr. Xcoder Main link, argument is z
M Indices of z that correspond to maximal elements [i for i in range(len(z)) if z[i] == max(z)]
r For each of the indices, get the inclusive range from that index to
. 0.5
X Select a random range from one of these
c Combinations
o Logical OR
d Divmod
e Contains (right in left)
r Inclusive range with the input
idk what that is, but if I could do it in JavaScript then I could just make a webpage and do it client-side and load the scripts over to the client ¯\_(ツ)_/¯
Dennis Main link
D Decimal digits of the input
e Does it contain the result of the right link?
n Not equals
n Not equals
i Index, find
s Split into slices