Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Guess The Number!
- #Coded By -> N4ckH@cker!
- import time
- import random
- print("Welcome To Guess The Number!")
- time.sleep(2)
- number = random.randint(1,50)
- name = raw_input("Give Username -> ")
- print("Exo skeutoi enan ari8mo apo to 1 / 51")
- print("Mporeis na to breis ;) ? ")
- time.sleep(2)
- guess = 0
- while guess != number:
- guess = input("Dose ari8mo -> ")
- if guess > number:
- print"Edoses megalo ari8mo!"
- if guess < number:
- print"Edoses mikro ari8mo!"
- if guess == number:
- print'Mprabo' ,name, 'to brikes!'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement