Basic Game Code Input Python 3 Mathematical Functions