Tools, FAQ, Tutorials:
Python Built-in Structured Data Types
Python Built-in Structured Data Types?
✍: FYIcenter.com
Python Built-in Structured Data Types are data types
provided by the Python interpreter to represent structures of data values:
Here is a list of commonly used Python Built-in Structured Data Types:
You can use the type() function to see the data type of a given structured value expression.
>>> type("FYIcenter.com")
<class 'str'>
>>> type(b'FYIcenter.com\x0A')
<class 'bytes'>
>>> type(["Age", 25])
<class 'list'>
>>> type({"Age":25, "Name":"Joe"})
<class 'dict'>
⇒ 'str' Literals and Conversions
⇐ 'float' Literals and Conversions
2018-04-07, ∼2858🔥, 0💬
Popular Posts:
How To Get the Minimum or Maximum Value of an Array in PHP? If you want to get the minimum or maximu...
What is the "__init__()" class method? The "__init__()" class method is a special method that will b...
Where to find tutorials on EPUB file format? I want to know how to create EPUB books. Here is a larg...
How to use the RSS Online Validator at w3.org? You can follow this tutorial to learn how to use the ...
How To Read Data from Keyboard (Standard Input) in PHP? If you want to read data from the standard i...