File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
- number = 64
1
+ number = 645
2
2
3
3
print ('In this program you will need to guess the number I am thinking of' )
4
4
5
- print ('I am thinking of a number between 1 and 100 ' )
5
+ print ('I am thinking of a number between 1 and 800 ' )
6
6
7
- while number == 64 :
7
+ while number == 645 :
8
8
9
9
guess = input ()
10
10
11
11
guess = int (guess )
12
12
13
- if guess < 64 :
14
- print ('your guess is too low' )
13
+ if guess < 645 :
14
+ print ('Your guess is too low! Please try again. ' )
15
15
16
16
17
- if guess > 64 :
18
- print ('your guess is too high' )
17
+ if guess > 645 :
18
+ print ('Your guess is too high! Please try again. ' )
19
19
20
- if guess == 64 :
21
- print ('your guess is correct' )
20
+ if guess == 645 :
21
+ print ('Well done!! Your guess is correct! ' )
22
22
23
23
break
You can’t perform that action at this time.
0 commit comments