# Quiz 5

TC101 TC101 (Python Group)

Remember that this will not be graded but you should keep this sheet and your solutions as evidence of work. Email your answers to Ken today (so we keep a record of your code today) and also I recommend you post your code on Github and write on your blog as another blog post evidence.

Use your own computer to write the code. Remember that I trust you and you need to do this honestly to give yourself a good “measure” of your ability to this point. If you complete this later than today, then just complete as quick as you can.

1. Create a function called is_palindrome which receives a string as a parameter and returns true if that string is a palindrome, false otherwise. Remember that a palindrome is a word that is the same forward or backward. For full points your function must ignore case and must work with any character (not just letters). So (“Dad\$dad” is a palindrome even though the D is capital and d is lower case).

En este quiz debíamos crear un programa que detectara si una palabra es un palindromo, o no lo es, ademas para agregarle diversión al programa, debía saber si una palabras es palindromo o no, pero también tenia que ignorar si la palabra tenia mayúsculas o minúsculas, simplemente debía decir si es un palindromo o no dejando de lado símbolos y mayúsculas.

1. Create a function called find_threes that receives as a parameter a list (or Vector or array for C++ students) of numbers and returns the sum of all numbers in that list that are evenly divisible by 3. Note if using vectors, you will need an additional parameter to represent the number of numbers in the array. So if the list was [0,4,2,6,9,8,3,12], the function would

30 (0+6+9+3+12)