Skip to content

Commit 49e5aad

Browse files
committed
Clarify Upper instructions
1 parent c0baacf commit 49e5aad

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

1_beginner/chapter7/practice/upper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Upper
22
# Continuously ask a user to enter words.
3-
# (Make sure that the input given is actually just 1 word.)
3+
# You should remove leading/trailing whitespace, and then
4+
# make sure that the word is only made up of letters.
45
# Store the words in a list.
56
# Stop asking the user for words if they enter an empty string
67
# (the string has no characters or is completely whitespace).

1_beginner/chapter7/solutions/upper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Upper
22
# Continuously ask a user to enter words.
3-
# (Make sure that the input given is actually just 1 word.)
3+
# You should remove leading/trailing whitespace, and then
4+
# make sure that the word is only made up of letters.
45
# Store the words in a list.
56
# Stop asking the user for words if they enter an empty string
67
# (the string has no characters or is completely whitespace).

0 commit comments

Comments
 (0)