Data types
Python provides a variety of specialized data types, such as dates and times, container types, and enumerations. There is a whole section in the Python standard library titled Data Types, which deserves to be explored; it is filled with interesting and useful tools for every programmer's needs. You can find it here: https://docs.python.org/3/library/datatypes.html
In this section, we will give you a brief introduction to dates and times, collections, and enumerations.
Dates and times
The Python standard library provides several data types that can be used to deal with dates and times. This may seem like a simple topic at first, but time zones, daylight saving time, leap years and other quirks can easily trip up an unwary programmer. There are also a huge number of ways to format and localize date and time information. This, in turn makes it challenging to parse dates and times. This probably why it is quite common for professional Python programmers to also rely on various...