3 ms·
Of course, in Python this is also pretty trivial to write. You just do the two illegality checks, then if you get through those "return len(set((a, b, c)))" wil
by ubernostrum 11y ago
Of course, in Python this is also pretty trivial to write. You just do the two illegality checks, then if you get through those "return len(set((a, b, c)))" will be the correct result.