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.