Convert boolean values to strings 'Yes' or 'No'.
Instructions
Complete the method that takes a boolean value and return a "Yes" string for true, or a "No" string for false.
Solution
def bool_to_word(bool):
return "Yes" if bool else "No"
人生便是艺术。