×

To install this app on your iPhone, tap Share 🔗 then Add to Home Screen.

Data types used in Python

0
37

Below are the examples, how you can set different kind of Data types in Python.

Example Data Type
x = "Hello World" str
x = 20 int
x = 20.5 float
x = 1j complex
x = ["apple", "banana", "cherry"] list
x = ("apple", "banana", "cherry") tuple
x = range(6) range
x = {"name" : "John", "age" : 36} dict
x = {"apple", "banana", "cherry"} set
x = frozenset({"apple", "banana", "cherry"}) frozenset
x = True bool
x = b"Hello" bytes
x = bytearray(5) bytearray
x = memoryview(bytes(5)) memoryview
x = None NoneType
Pesquisar
Categorias
Leia Mais
Outro
Degaussing System Market Supported by Military Modernization
Degaussing System Market grows with rising naval security ...
Por Lisa Tate 2025-05-13 13:03:43 0
SEO
Farm Equipment Service in Elizabethtown: Why Ag-Com LLC is the Trusted Choice for Farmers
Farming is not just a livelihood in Elizabethtown—it's a way of life. Ensuring that your...
Por Dev Sahoo 2025-05-23 10:34:53 0
Outro
Breast Imaging Market Analysis and Outlook Report 2025-2034
The most recent report published by Vantage Market Research indicates that the "Breast Imaging...
Por Tushar Jane 2025-06-10 05:39:26 0
Health
The Importance of Therapy in Lexington, KY: Finding Support and Healing
Mental health is a vital part of overall well-being. Many people in Lexington, KY, benefit...
Por John Martin 2025-05-29 16:38:25 0