I recently started out to learning Swift which is completely different from my previous work perspective. I found it is interesting like doing the quiz when I am writing the codes..But I have been struggling with this puzzle for a couple of hours now and will be very much appreciate if any of you could help me out.. here is the quiz, and my code below(it looks ridiculous and I have no idea what to do) the question
what I wrote