×

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
Jeux
Psychologi bag casino bonusser: Hvordan incitamenter påvirker spilleradfærd og beslutningstagning i online gambling
Psychologi bag casino bonusser: Hvordan incitamenter påvirker spilleradfærd og...
Par Aserty Aser 2025-06-09 12:06:30 0
Autre
Is AI the Key to Smarter PPC Campaign Optimization?
Pay-per-click (PPC) advertising remains one of the most effective ways for businesses to drive...
Par Glorywebs Creatives 2025-05-31 06:37:25 0
Autre
Graceville Pizza
Best Graceville Pizza | Fresh, Hot & Delicious | Pizzaville Graceville Craving the best...
Par Technology Welldone 2025-06-06 10:35:21 0
Autre
カーボンナノチューブ粉調査レポート:市場規模、産業分析、最新動向、予測2025-2031
カーボンナノチューブ粉世界総市場規模...
Par Snow Lin 2025-06-06 09:22:21 0
Domicile
Is Your Home Ready for a Makeover? House Painting Done Right
A fresh coat of paint has the power to completely transform your home’s appearance. Whether...
Par Jason Watsom 2025-06-04 07:46:35 0