Python for Everybody - More Conditional Structures

Tell us what’s happening:
Describe your issue in detail here.
I am not getting how to approach this problem.Can anyone explain how to solve it
Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Challenge: Python for Everybody - More Conditional Structures

Link to the challenge:

Can you tell us what you have tried so far and what you are thinking?