While your answer may be a quick solution, please explain it so that @Senkora can understand what your code does. We try to avoid giving direct answers, as learners do not learn how or why the code works, which results in zero understanding. Try to support learners by providing information that will help them arrive at the answer themselves.
I’ve edited your post for readability, and added spoiler tags around it. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
See this post to find the backtick on your keyboard. Note: Backticks (`) are not single quotes (’).
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.