lab-functions#19
Conversation
|
Sara, Great job on this lab! ⭐ Some comments: On Question 1, you left the then no error appears. In this case, you already added your code to add On question 2, your function passes the test but there is a case where setting On question 5, you could simplify your code by calling the functions you created on the previous two questions: Regarding question 9, the string that the functions gets as an argument can have any characters, you just need to check if the strings contains all the letters of the alphabet. So there is no need to clean the string. Right now, you defined But remember that to define a list (in this case a list of strings), we need to use square brackets: Now, you would have to iterate along your alphabet list and check if each element is in string. If not, then the string is not a pangram and you return False. But if you end the iteration along all the elements of alphabet and find all the letters on your string, then you return True: |
I haven't finished exercise 9 :(((