string scramble yo
This commit is contained in:
parent
bfe83636ef
commit
847ae3957d
@ -2,8 +2,8 @@ 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.
|
||||
```
|
||||
string_scramble('hello', 'goodbye') # False
|
||||
string_scramble('hello', 'lolfrhe') # True
|
||||
```
|
||||
Write your own assert statements.
|
||||
|
Loading…
x
Reference in New Issue
Block a user