Python | Number Guessing Game | mini Project

Number Guessing Game in Python mini Project

This is mini project regarding missing number .Here user will enter any 3 – 4 digit number then invert that number  and then after inverted initial or inverted then subtract smaller number form bigger number then from output one number will be hidden so you have guess that number
import random
gen_ran_no = random.randint(0,100)
user_no = int(input('Enter Guessing number: '))
if user_no == gen_ran_no:
    print("YOU WIN THE GAME")
    if user_no > gen_ran_no:    
        print('your number is greater')
        if user_no < gen_ran_no:
            print('you number is smaller')
note:its not a complete program


Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *