×

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
Zoeken
Categorieën
Read More
Home
Tips for Choosing Professional Sofa Cleaning Services in Chandigarh
Selecting the right professional sofa cleaning service in Chandigarh in 2025 ensures your...
By Busy Bucket 2025-05-21 07:26:32 0
Other
Connected Car M2M Connections and Services Market Share, Size & Growth Forecast by 2034
The worldwide "Connected Car M2M Connections and Services Market" 2025 Research Report presents a...
By Tushar Jane 2025-05-14 05:20:04 0
Food
Global Food Emulsifiers Market: Trends, Growth Drivers, and Future Outlook
The global food emulsifiers market is experiencing a significant shift, driven by evolving...
By Ava Thomas 2025-05-21 10:17:33 0
Other
Fast Locksmith Services in Dubai for Home, Office & Vehicles
When you're locked out of your home, office, or car, every second counts. Fast locksmith services...
By Ayla Jhon 2025-05-31 08:21:18 0