×

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
Site içinde arama yapın
Kategoriler
Read More
Other
Love Shayari in Hindi for Girlfriend
Romantic Love Shayari in Hindi for Girlfriend – Express Your Heart with Words Looking for...
By Technology Welldone 2025-06-07 08:39:52 0
Information Technology
2,5-ジテルタミルヒドロキノン市場競争分析:主要企業、ランキング、投資動向2025
2025年5月23日に、QYResearch株式会社(所在地:東京都中央区)は「2,5-ジテルタミルヒドロキノン―グローバル市場シェアとランキング、全体の売上と需要予測、2025~2031」の最...
By Qyresearch Jasmine1 2025-05-23 09:19:43 0
Literature
How to Present Yourself Professionally in English
Imagine stepping into a video interview or walking up to the podium at an international...
By Kayal Arivazhagan 2025-06-05 13:46:26 0
Other
Content Delivery Network Market Research Report: Growth, Share, Value, Trends, and Insights
The worldwide "Content Delivery Network Market" 2025 Research Report presents a professional and...
By Tushar Jane 2025-05-16 05:08:20 0
Other
Commercial Gensets Market Rising with Urban Commercial Development
Commercial Gensets Market is growing due to rising demand...
By Lisa Tate 2025-05-15 09:38:38 0