And codingforums is legally entitled to ban trouble makers with or without giving a reason. I am amazed that WA would seek to undermine his moderators in such a way - especially to you. In fact, I do not believe you.
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.