4️⃣

17.4 Built-In Tuple Methods

Built-In Tuple Methods

Unlike lists that have many built-in methods, tuple only has two built-in methods: count() and index().

There are other methods you can do on tuples such as len(), but those don’t count as built-in methods of tuples but rather built-in methods of Python in general.

Previous Section

Next Section

⚖️

Copyright © 2021 Code 4 Tomorrow. All rights reserved. The code in this course is licensed under the MIT License. If you would like to use content from any of our courses, you must obtain our explicit written permission and provide credit. Please contact classes@code4tomorrow.org for inquiries.