Thanks PyCharm IDE for helping me with the code errors.