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 *


You have successfully subscribed to myprogrammingschool

There was an error while trying to send your request. Please try again.

My Programming School will use the information you provide on this form to be in touch with you and to provide updates and marketing.