×

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
Domicile
The Modern Lifestyle: Blending Fashion, Entertainment, and Home Living
In today’s fast-paced world, people seek reliable sources of inspiration and...
Par Ema Hossain 2025-06-05 10:09:43 0
Autre
Comparing Vibratory Plate Compactors: Features and Performance Overview
In the world of construction and landscaping, achieving a solid, level foundation is key to...
Par Shubham Gurav 2025-06-10 05:06:36 0
Health
Buy Adderall Online - No RX Required
In today’s fast-paced world, individuals struggling with Attention Deficit Hyperactivity...
Par Buying Adderall 2025-05-16 18:37:09 0
Autre
Flooring Installation Oakville and Home Remodeling Mississauga
When it comes to enhancing the comfort, aesthetics, and functionality of your home,...
Par Kv Construction 2025-05-21 13:59:21 0