cookies-icon

Our website uses cookies. By using this website, you agree to their use in accordance with the browser settings. You can modify your browser settings on your own. For more information see our Privacy Policy.

Course

Basic

Built-in Algorithms in Python

Learn Python built-in algorithms and functions to write optimized applications in a shorter amount of time.

Table of contents

Lifetime access

B042DDD8-A1C9-4053-8AF3-463EB31543B8@2x

limited to this course only

$29

Buy now

Want a better deal?

B042DDD8-A1C9-4053-8AF3-463EB31543B8@2x

Get unlimited lifetime access to all 13 present and future courses

Save $250

Unlimited lifetime access

B042DDD8-A1C9-4053-8AF3-463EB31543B8@2x

to all 13 present and future courses

$ 99

$ 349

72% OFF

Buy now Full pricing
67

Interactive exercises

15 h

Estimated time

438

Users enrolled

☆☆☆☆☆
★★★★★

3 ratings

This course is the next step in learning Python after our Python Data Structures in Practice course, and explains how you can quickly apply typical operations to basic data structures: find the greatest element in a dictionary, sort string values in a list or check if a tuples contains a given element.

Python is now an extremely popular programming language. It allows developers to write less code and create applications quicker than in other programming languages. That's because Python comes with a lot of built-in algorithms and functions that are ready to use whenever you need them. Our new course titled Built-in Algorithms in Python focuses on how to use the most common of these functions in a productive way.

In software development, there is a set of operations which are universal and appear in nearly all applications. Finding the highest number in a set or sorting all elements in a list are operations that you'll have to implement when writing any bigger Python program. Because they are so common, the creators of Python have made them available as built-in functions. You don't have to reinvent the wheel every time and you can also rest assured that Python picks optimal algorithms behind the scenes to make your applications as fast and memory-effective as possible.

Cartoon person sitting cross-legged with a laptop, meditating about code

We'll start with a set of functions typically applied when dealing with multiple elements: min() and max() to find the greatest/smallest element, sum() to find the total sum of all elements in a data structure, count(item) to find the number of occurrences of an item and index(item) to find the index of an item in an ordered data structure.

We'll then move on to discuss searching and sorting in Python. We'll talk about the in operator, explain the difference between sort() and sorted() when sorting elements and show the usage of reverse() and reversed() to reverse the order of elements.

Finally, we'll explain how you can use key functions to introduce arbitrary sort orders. You'll learn to apply lambdas or helper functions to sort items in a customized way. We'll also introduce the itemgetter() function to make sorting data structures even easier.

Once you've completed the course, you'll be able to pick the right built-in functions depending on the situation. This will make writing applications easier and quicker. You'll also be sure that your programs use the most efficient algorithms available. This course focuses on practical software development skills, which are inevitable to boost your career in the IT industry.

Once we've introduced all the built-in algorithms and functions, we'll have a bonus for you. You'll be challenged with writing a real-world console application in Python. The application you'll write will store data related to NBA players and allow users to browse various player-related statistics. Naturally, you'll have a chance to use a lot of built-in functions that we discuss in the course to consolidate your knowledge.

Start the course and improve your Python skills now!

What's in It for Me?

  • 67 interactive exercises. Learn at your own pace, from anywhere and anytime. Interact with hands-on exercises for improved retention.
  • Lifetime access to the course. When you purchase the course, you'll get instant personal access to all of its content.
  • Certificate of completion. After you successfully finish all of the exercises, you'll get a downloadable PDF certificate to showcase your accomplishment.
  • 30-day money-back guarantee. If you're not satisfied with the quality of the course, you can get a refund within 30 days of your purchase.
  • Hints for the exercises. You can make use of ready-made hints for all exercises, or ask questions and share insights with other members of our community through the Discuss tab.

What Are the Requirements?

Learn How to:

  • Find the greatest and smallest item with min() and max()
  • Find the sum of all elements with sum()
  • Find the number of item occurrences with count(item) or an item's index with index(item)
  • Search for an item in a data structure
  • Sort items and introduce custom sort orders
  • Reverse the order of items in a data structure
  • Distinguish between in-place and copy-making operations

We Recommend the Course to:

  • Students taking entry-level classes in Python.
  • Academics who want to leverage Python in their fields of study.
  • Professionals dealing with Python.
  • Anyone who wants to leverage Python's built-in capabilities in real-world projects.
  • Anyone interested in starting a software development career.
  • Junior programmers preparing for a coding interview.

Table of contents

Free

Paid content

0%

Course progress

0/67

Exercises completed

1.

Built-in Functions in Python

Learn how to use Python's built-in functions to solve typical problems.

0/15
Start now

Reviews (2)

Average rating

4.66 / 5

☆☆☆☆☆
★★★★★

3 ratings

Details

5 stars

67%

4 stars

33%

3 stars

0%

2 stars

0%

1 stars

0%