I have defined this function that takes a word and a string of required letters and that returns True if the word uses all the required letters at least once. When I run thi
You print the result of the function, but the function doesn't return anything (--> None)
return
If you want the result to be False False, add return boolean in the function.
False False
return boolean
Alternatively, if a single False is enough, you could change print uses_all('facebook', 'd') to just uses_all('facebook', 'd')
False
print uses_all('facebook', 'd')
uses_all('facebook', 'd')