https://alandroidnet.com/related/number guessing game python code