Skip to content

Commit fbbf92d

Browse files
author
ee6-lang
committed
changed lines of code and grammatical errors (Capital letters/full stops etc)
1 parent a2de77e commit fbbf92d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

numbergame.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
number = 64
1+
number = 645
22

33
print ('In this program you will need to guess the number I am thinking of')
44

5-
print ('I am thinking of a number between 1 and 100')
5+
print ('I am thinking of a number between 1 and 800')
66

7-
while number == 64:
7+
while number == 645:
88

99
guess = input()
1010

1111
guess = int(guess)
1212

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.')
1515

1616

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.')
1919

20-
if guess == 64:
21-
print('your guess is correct')
20+
if guess == 645:
21+
print('Well done!! Your guess is correct!')
2222

2323
break

0 commit comments

Comments
 (0)