Skip to content

Commit a9eaad5

Browse files
authored
Update README.md
1 parent e2f1cfe commit a9eaad5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Go to [lorem ipsum generator](http://www.lipsum.com/) and:
9393

9494
#### Bonus 2:
9595

96-
Ask the user for a new string and check if it's a [Palindrome](https://en.wikipedia.org/wiki/Palindrome). Examples of palindromes:
96+
Create a new variable `phraseToCheck` and have it contain some string value. Write a code that will check if the value we assigned to this variable is a [Palindrome](https://en.wikipedia.org/wiki/Palindrome). Here are some examples of palindromes:
9797
- "A man, a plan, a canal, Panama!"
9898
- "Amor, Roma"
9999
- "race car"
@@ -102,6 +102,8 @@ Ask the user for a new string and check if it's a [Palindrome](https://en.wikipe
102102
- "taco cat"
103103
- "put it up"
104104
- "Was it a car or a cat I saw?" and "No 'x' in Nixon".
105+
106+
__Hint__: If you use Google to help you to find solution to this iteration, you might run into some solutions that use advanced string or array methods (such as _join()_, _reverse()_, etc.). However, try to apply the knowledge you currently have since you can build pretty nice solution with just using `for` loop, `if-else` statements with some `break` and `continue`... Just sayin' :smiley:
105107

106108
## Extra Resources
107109

0 commit comments

Comments
 (0)