Editing Community Data Science Course (Spring 2016)/Day 2 Coding Challenges
From CommunityData
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 12: | Line 12: | ||
# You need a word that matches "a*ey" (here "*" means any letter). Are there any words that match? | # You need a word that matches "a*ey" (here "*" means any letter). Are there any words that match? | ||
# Print every other word that matches the condition in (1) above. | # Print every other word that matches the condition in (1) above. | ||
# Find | # Find the longest string where no character is used > 1 time. | ||
Now we're going to start finding points! You can use scrabble.scores to get the scores for every letter. But we're going to cheat: assume you have all the letters. | |||
# What is the most valuable word in the dictionary, and how much is it worth? | # What is the most valuable word in the dictionary, and how much is it worth? | ||
Line 32: | Line 26: | ||
d: decitizenizing, 36 | d: decitizenizing, 36 | ||
..... | ..... | ||
== Finale! == | == Finale! == | ||
Line 39: | Line 32: | ||
* One of the words that is tied for the most vowels is aquifoliaceous | * One of the words that is tied for the most vowels is aquifoliaceous | ||
* The word with the highest consonant to vowel ratio is sulphhydryls | * The word with the highest consonant to vowel ratio is sulphhydryls | ||