8 Things You Must Know in Python
51mIntermediate2024-12-13
Authors

Jonathan Fernandes
Consultant focusing on data science, AI, and big data
Course details
There are many beginner Python tutorials, but to build useful applications, you need to move beyond the basics. This course helps you on the journey to writing intermediate-level Python code. Instructor Jonathan Fernandes presents eight things that you should know how to do in Python. Topics include the Python any() and all() methods, using enumerate() and zip() methods, min() and max(), and more. For each topic, Jonathan provides a hands-on approach and then gives you a CoderPad challenge (with solutions) to practice.
Learning objectives
Demonstrate the use of the any() and all() functions with iterables.
Create indices using the enumerate() function.
Demonstrate the use of the zip() function to combine iterables.
Define iterable and sequence and give examples of each.
Specify and illustrate the behavior of the min() and max() functions.
Specify and demonstrate the use of the sort() function.
Learning objectives
Demonstrate the use of the any() and all() functions with iterables.
Create indices using the enumerate() function.
Demonstrate the use of the zip() function to combine iterables.
Define iterable and sequence and give examples of each.
Specify and illustrate the behavior of the min() and max() functions.
Specify and demonstrate the use of the sort() function.
Skills covered
PythonProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Eight things to know in Python
- 02 - CoderPad tour
1. Understanding the Python any() and all() Methods
- 03 - Python all() function
- 04 - Python any() function
- 05 - Solution - any() and all()
2. Using the Python enumerate() and zip() Method
- 06 - Python enumerate() function
- 07 - Python zip() function
- 08 - Solution - enumerate() and zip()
3. Understanding the Python reversed() Method
- 09 - Python reversed() function
- 10 - Solution - reversed()
4. Working with Python min() and max()
- 11 - Python min() and max() function
- 12 - Solution - min() and max()
5. Understanding and Using the Python sorted() Method
- 13 - Python sorted() function
- 14 - Solution - sorted()
Conclusion
- 15 - Next steps