Thanks for your quick intervention, but I have already solve the problem. However, there are certain issues I am not familiar with: If you look at my code, why is it not fully compliant with the requirements seeing that the first and last bars are not on the same level with others? How is it so?
I’ve edited your post for readability. 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.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.
Note: Backticks are not single quotes.
Without this, your code was invisible for everyone else!
Thanks a lot. I had not read sufficiently the demands of the question before tackling it, hence the mistake. I am happy to say that has been rectified. Thanks once more for the insightful advice, I really appreciate it.