Advanced Topics in Python Lab

In this lab, I learned how to put many items within a dictionary. Creating a list with a range was confusing at first, but as I kept working on it, t became more easier. List slicing was really fun seeing how it worked. “!XeXgXaXsXsXeXmX XtXeXrXcXeXsX XeXhXtX XmXaX XI” may seem like nonsense, but once message = garbled[::-2] is put into python and printed, it becomes a sentence that we can all understand. It really is interesting. The function of lambda in python is truly amazing, it filters out the Xs within a message.

Untitled Untitled1 Untitled2 Untitled3