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
Поиск
Категории
Больше
Information Technology
鉄道絶縁材業界レポート:市場動向、機会分析、将来予測2025-2031
2025年6月3日に、QYResearch株式会社(所在地:東京都中央区)は「鉄道絶縁材―グローバル市場シェアとランキング、全体の売上と需要予測、2025~2031」の最新調査資料を発行しました...
От Qyresearch Jasmine1 2025-06-03 09:15:36 0
Другое
炭化ケイ素インゴットスライシングマシン調査レポート:市場規模、産業分析、最新動向、予測2025-2031
2025年6月23日に、QYResearch株式会社(所在地:東京都中央区)は、「炭化ケイ素インゴットスライシングマシン―グローバル市場シェアとランキング、全体の売上と需要予測、2025~203...
От Xu Shuyun 2025-06-23 02:59:24 0
Другое
Structural Power Composite Market: Trends, Growth Drivers and Future Outlook
The Structural Power Composite Market is an emerging and dynamic segment in the field...
От Harshal Juvale 2025-06-20 05:58:26 0
Religion
Rishikesh to Joshimath Cab
Book Rishikesh to Joshimath cab online at best price. CabBazar provides car rental services for...
От Cab Bazar 2025-06-23 07:06:28 0
Другое
Company Logo
Build a Strong Brand Identity with a Professional Company Logo Looking to create a memorable and...
От Technology Welldone 2025-07-02 12:49:01 0
Omaada - A global social and professionals networking platform https://www.omaada.com