-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame.py
22 lines (22 loc) · 766 Bytes
/
game.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import random
print('please give the minimum range number')
abra = int(input())
print('please give the maximum range number')
dabra = int(input())
print('Please Guess the Number')
your_number = int(input())
number = random.randint(abra,dabra)
if your_number == number:
print('Congrats! You Have Guess The Correct Number In Your First Guess')
else:
print('Sorry. Please Try Again')
your_number = int(input())
if your_number == number:
print('Congrats! You Have Guess The Correct Number In this time')
else:
print("It's your last time buddy")
your_number = int(input())
if your_number == number:
print('Congrats! You Have Guess The Correct Number In last time')
else:
print('Sorry brother! No luck')