discount calculator project for Python Class