What are the main built-in data types in Python?
Model answer
int, float, complex, bool, str, list, tuple, dict, set, frozenset, bytes and NoneType. Python is dynamically typed: a variable can hold any type and the type belongs to the value, which you can check with type().
Learn this topic
Variables, Numbers, Text and input() in Python in the course Python for Beginners: Learn to Code with Real Projects.
Sign in to add your own answer.