There are many instances of assignment of variables with a trailing semi-colon ';' , it doesn't raise any error but is avoided in python. There are other bugs like - functions used without importing the necessary module - error in variable referencing **I would like to send a PR after fixing above bugs and code formatting according to pep8 python styling guidelines**