© Connor P. Milliken 2020
C. P. MillikenPython Projects for Beginnershttps://doi.org/10.1007/978-1-4842-5355-7_8

8. Advanced Topics I: Efficiency

Connor P. Milliken1 
Derry, NH, USA

Now that we have a solid base to work from, we can begin to dive into more advanced topics. Over the next two weeks, we’ll be covering concepts that help to reduce the amount of code you need to write. Many of these concepts will help prepare us for data analysis in Week 10.

Throughout this week, we’ll be covering one-liners using list comprehension and anonymous functions. This will help to reduce the lines of code by condensing the same functionality within a single line. We’ll then cover a few of the built-in Python functions that make working with data easier. The ...

Get Python Projects for Beginners: A Ten-Week Bootcamp Approach to Python Programming now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.