Lab 7: Advanced Topics in Python

For this lab, we learn how to create lists and dictionaries. Also, we learned how to manipulate an specific piece or slice of the list to be printed. Then, we learned how to change the order of the characters printed. For example, if we have “olleH”, using list slicing we can change its order so the result will be “Hello”. And finally, the use of lambda expression as a filter for our lists. In conclusion, we learned how to select specific pieces or slices from our lists and set it to our output.

7-1

7-2

7-3

7-4