Summary
In this chapter, we explored Python's built-in data types. We have seen how many there are and how much can be achieved just by using them in different combinations.
We have seen number types, sequences, sets, mappings, dates, times, collections, and enumerations). We have also seen that everything is an object and learned the difference between mutable and immutable. We also learned about slicing and indexing.
We have presented the cases with simple examples, but there is much more that you can learn about this subject, so stick your nose into the official documentation and go exploring!
Most of all, we encourage you to try out all the exercises by yourself—get your fingers used to that code, build some muscle memory, and experiment, experiment, experiment. Learn what happens when you divide by zero, when you combine different number types, and when you work with strings. Play with all data types. Exercise them, break them, discover all their methods, enjoy them,...