Skip to content

Commit 01c0a12

Browse files
committed
Better naming in solution
1 parent 65e041b commit 01c0a12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch08-conditional-logic/5-break-out-of-the-pattern.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
# Exercise 1
66
# Run in an infinite loop until the user types "q" or "Q"
77
while True:
8-
my_input = input('Type "q" or "Q" to quit: ')
9-
if my_input.upper() == "Q":
8+
user_input = input('Type "q" or "Q" to quit: ')
9+
if user_input.upper() == "Q":
1010
break
1111

1212

0 commit comments

Comments
 (0)