marty jonq welcome to SoloLearn. In order to get help, you need to show us your code first.
We can't give you direct solution here, as the main purpose of the forum is to learn, not to do homeworks.
Plz follow the guidelines to ask a proper question. Thanks! 😊
Why are you giving direct code to the questioner? You aren’t helping him to learn. Indeed, you are killing all the chances to learn.
Read what BroFar said☝️ and this one too 👇