Python Code For Prime Number Check