Skip to content

Commit 68cd698

Browse files
authored
Update guess_number.py
1 parent d441a0e commit 68cd698

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

4-loops/guess_number.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
tries = 0
66

77
while guess != 6 and tries < 5:
8-
guess = int(input("Guess the number: "))
8+
guess = int(input('Guess the number: '))
99
tries = tries + 1
1010

1111
if guess != 6:
12-
print("You ran out of tries.")
12+
print('You ran out of tries.')
1313
else:
14-
print("You got it!")
14+
print('You got it!')

0 commit comments

Comments
 (0)