-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from gocodeup/isaac
Isaac
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Alphabet Soup | ||
|
||
Create a function alphabet_soup($str) that accepts a string and will | ||
return the string in alphabetical order. E.g. "hello world" becomes | ||
"ehllo dlorw". So make sure your function separates and alphabetizes | ||
each word separately. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Palindrome | ||
|
||
Create a function that can detect whether a word is a palindrome or not. A palindrome is a word that can be interpreted the same way in reverse order. | ||
|
||
[Palindrome on Wiki](http://en.wikipedia.org/wiki/Palindrome) | ||
|
||
Create the function so it will return a bool value true if the entered word is a palindrome. Function name example could be is_palindrome(). After you are complete test several known palindromes, then test regular words in your function. | ||
|
||
## Try the following known palindromes in your function | ||
|
||
1. Amore, Roma | ||
2. A man, a plan, a canal: Panama | ||
3. No 'x' in 'Nixon |