×

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
Precision Agriculture Market Thrives on Predictive Analytics
Precision Agriculture Market driven by IoT, AI tech advances, and rising cloud adoption in...
Par Lisa Tate 2025-05-23 12:10:00 0
Literature
Clothing Uniform for the Unapologetic
Clothing Uniform for the Unapologetic Badson Clothing isn’t designed for the quiet or the...
Par OVO Clothing 2025-06-06 05:23:41 0
Food
How Much Does 1kg Buffalo Desi Ghee Cost? Full Price List
In today’s health-conscious world, traditional food products like desi ghee are making a...
Par DCc Ghee 2025-05-23 16:35:48 0
Shopping
Explore Sensual Control and Pleasure With a Deepthroat Gag and Deepthroat Trainer
BDSM and fetish exploration allow couples to discover new dimensions of intimacy, trust, and...
Par John Martin 2025-05-21 15:53:09 0