Code For Simple Game In Python