I need to solve a problem using Python. I can solve the problem without code and if you search the internet the answer is public. I am having trouble in getting my code to w