Please Subscribe My YouTube Channel

Tuesday, June 23, 2026

Guess Number & Win Coin Program Python

Guess Number & Win Coin Program Python


#Project By Satyam Sir Hardoi (+91 9026728220)
#use when we hide any number and ask someone to guess number
import random
number=random.randint(1,5)
earn=0
print("Play & Guess Number")
while True:
    Guess_Number=int(input("Enter any number:- "))
    if number==Guess_Number:
        print("Correct Match")
        print("You have earn 100 Point")
        earn+=100
        print(earn)
        break
    else:
        print("Wrong Number")
print("I am going Home, Tata Bay Bay!")
#for exit console you can exit() or quit()
quit()



No comments:

Post a Comment

*******Please Comment, Like and Share******
दोस्तों पूरी पोस्ट पढने के लिए धन्यवाद, आशा करता हूँ आप को यह पोस्ट पसंद आई होगी और भी अधिक जानकारी के लिए या मुझसे जुड़ने के लिए आप मुझे मेरे फेसबुक पेज information & technology computer institutions और इन्स्टाग्राम ID:- satyam_hardoi को फॉलो कर सकते है,
मेरा youtube चैनल itci computer hardoi सर्च करे और पाए कंप्यूटर से सम्बंधित सभी विडियो और हाँ प्लीज नई अपडेट पाने के लिए चैनल को सब्सक्राइब जरुर करें, धन्यवाद | आपका $ सत्यम सर् $