Languages
[Edit]
EN

Python - built-in datatypes

0 points
Created by:
Admin Dirask Community
1810

In this article, we would like to show you built-in datatypes in Python.

Built-in datatypes

Numeric typesint, float, complex
Text typesstr
Boolean typesbool
Sequence typeslist, tuple, range
Mapping typesdict
Set typesset, frozenset
Binary typesbytes, bytearray, memoryview

Note:

You can check the data type using type() method.

text = 'a'
print(type(text))  # str
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join