9 lines
292 B
Markdown
9 lines
292 B
Markdown
String Scramble
|
|
===============
|
|
|
|
Write an algorithm that takes a string, and checks if all of the letters of the string are inside of a second string. For example:
|
|
|
|
string_scramble('hello', 'goodbye') ##false
|
|
string_scramble('hello', 'lolfrhe') ##true
|
|
|
|
Write your own assert statements. |