×

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
Nach Verein filtern
Read More
Electric
Experiences on Paper: Investigating Experimental writing Strategies
    In the fast-paced world of healthcare, nurses are increasingly returning to school...
Von Jon Smit 2025-05-24 09:10:28 0
Other
Empowering Indian Entrepreneurs: The Digital Transformation of MSMEs through Online Udyam Registration
Introduction India is witnessing a digital revolution that has redefined how businesses operate,...
Von Udyam Online 2025-06-03 05:11:18 0
Other
Transform Your Home with Expert Renovations in Brampton
Home remodeling is one of the most effective ways to enhance comfort, improve functionality, and...
Von Kv Construction 2025-05-21 15:46:14 0