Guess The Number Game - Python !!!
Welcome to my blog, Today, we are making a guess the number game in python. The basic idealogy of this game is that a random number will be selected and your task is to guess that number........there are many links where you can find this same project but i tried to keep it unique by adding some hints and adding difficulty levels to the game. so let's begin with the project: step 1. Importing all the required modules in python : import random step2. Defining the hints for the game: so I made three methods that are used to give hints to the player which are as follows: def even ( num ): if num % 2 == 0 : return "Even" else : return "Odd" def prime ( num ): for i in range ( 2 ,num): if num % i == 0 and i == num: return "Prime" else : return "Not a prime" def hint ( guessed_no , actual_no ): less_than = [ "Your guess is too low&qu