lower()2 Are You Playing Banjo? Create a function which answers the question "Are you playing banjo?". If your name starts with the letter "R" or lower case "r", you are playing banjo! The function takes a name as its only argument, and returns one of the following strings: name + " plays banjo" name + " does not play banjo" Names given are always valid strings. Solution: 1. Check if the first letter of 'name' is 'r'. 2. If it.. 2022. 5. 2. Kebabize Description: Modify the kebabize function so that it converts a camel case string into a kebab case. kebabize('camelsHaveThreeHumps') // camels-have-three-humps kebabize('camelsHave3Humps') // camels-have-humps Notes: the returned string should only contain lowercase letters Solution: 1. Repeat the string with a for statement. 2. If there is a number, pass. 3. If there is a capital letter, add '.. 2022. 3. 16. 이전 1 다음