×

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
Rechercher
Catégories
Lire la suite
Autre
Whipping Cream Market Report, Size, Trends, Analysis and Forecast 2032
As per their “Whipping Cream Market” report, the global market was valued at ~USD 8...
Par Univ Datos 2025-06-03 15:08:55 0
Autre
ऑनलाइन पंडित जी से बात करें - तुरंत ज्योतिष सलाह
भारतीय संस्कृति में ज्योतिष एक महत्त्वपूर्ण है। जन्म, विवाह, करियर, शिक्षा, स्वास्थ्य,...
Par PanditJi OnCall 2025-05-30 12:21:31 0
Sports
Badminton Coaches Singapore
Train with Top Badminton Coaches in Singapore at ULTexplosive Badminton Academy  Looking for...
Par Business Maker 2025-06-06 16:48:23 0
Autre
Exploring the Aerospace Prepreg Market’s 7.5% CAGR Growth to 2025
The aerospace prepreg market experienced significant growth from 2020 to 2025, driven by the...
Par Myra Miller 2025-06-02 06:32:16 0
Autre
Livestock Monitoring Market Share, Size & Growth Forecast by 2034
The most recent report published by Vantage Market Research indicates that the "Livestock...
Par Tushar Jane 2025-05-29 05:22:35 0