On Beyond Strings

Now that you understand what functions are and how to import modules, let’s look at some of the functions that are built in to Python (no modules required!).

You already know about some of the built-in functions we’ve used with strings, such as .upper(), .lower(), str(), and len(). These are great for doing work with strings, but what about something a little more analytic?



What do you think the code in the editor will do? Click Run when you think you have an idea.

Folder Icon

Take this course for free

Already have an account?