Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
416 B
3
Indexable
Never
from ast import While
from http.client import CONTINUE
import random

print("S.T.A.N")

while True:
    System_number = random.randint(1,10)
    User_number = int(input("Enter Your Guess: "))
    if System_number==User_number:
            print("Succes")
    else:
            print("Not This Time ")
    CONTINUE = input("Continue? (Y/N)").upper()
    if CONTINUE != "Y":
        print("See You Soon")
        break