×

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
Search
Categories
Read More
Other
Global Air-independent Propulsion (AIP) System Market to Soar at considerable CAGR Through 2025 | Trends, Drivers, and Forecast Analysis
MarkNtel Advisors recently published a detailed industry analysis of the Global...
By Jack Daniel 2025-05-29 08:45:53 0
Other
My Experience Using AV Cars’ Disabled Car Service
For someone with restricted mobility, finding a dependable and courteous means of transportation...
By Locifer Smith 2025-05-26 13:22:45 0
Other
Nutraceuticals Market outlook and future Growth Analysis up to 2034
Global Nutraceuticals Market: Industry Trends, Share, Size, Growth, Opportunity and Forecast...
By ASHWINI GOURKHEDE 2025-05-07 05:57:31 0
Information Technology
鉄道絶縁材業界レポート:市場動向、機会分析、将来予測2025-2031
2025年6月3日に、QYResearch株式会社(所在地:東京都中央区)は「鉄道絶縁材―グローバル市場シェアとランキング、全体の売上と需要予測、2025~2031」の最新調査資料を発行しました...
By Qyresearch Jasmine1 2025-06-03 09:15:36 0