I know this is kind of a vague question but where should I start? I just don't know how to start my code on this problem. I know I need to make this a function but when it comes to the code I'm very confused. If anyone could help me with parts of the code or help walk me through this I'd br very appreciative. Thanks in advance!