Code Coach SWIFT Input?
Note: I am already aware exactly how the code coach uses output to define answers and all that. Main question: I have come up with a solution that WOULD pass every single test of the “Popsicles” code coach challenge. (Two sets of inputs tested back-to-back, one set solves 3 tests and the other set solves the other 2. My body code is very general and isn’t the issue.) I’m not going to post my methods here because I’ve read elsewhere that it’s against the rules to share answers. Anyways - I just need to know: How do I “get” the “input” sets that are passed by the tests (In Swift) ? I can only manually insert one set or the other in the code portion and there’s no way I know of to make my sibling or popsicle variables based on test input. I’ve tried loops and switch statements but have not succeeded - I still get the output of only one set.