While there's so much wrong with that code, I'll ignore everything and ask what tutorial or classes left you with such an app. Do tell.
http://www.python-course.eu/input.php shows the correct use of input() and yours needs to be fixed.
Read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question before you post again.