reading-notes

Read: Class 08 Summary :

List Comprehensions in Python

for item in list:
    if conditional:
        expression
string = "Hello 12345 World"
numbers = [x for x in string if x.isdigit()]
print numbers
>> ['1', '2', '3', '4', '5']

Primer on Python Decorators