Data types used in Python
Сообщение 2022-10-10 11:10:35
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 |
Поиск
Категории
- Information Technology
- Office Equipment and Supplies
- Cars and Trucks
- Persons
- Books and Authors
- Tutorials
- Art
- Causes
- Crafts
- Dance
- Drinks
- Film
- Fitness
- Food
- Игры
- Gardening
- Health
- Главная
- Literature
- Music
- Networking
- Другое
- Party
- Religion
- Shopping
- Sports
- Theater
- Wellness
Больше
Asia-Pacific Solar Energy and Battery Storage Market Analysis & Forecast 2025
Asia-Pacific Solar Energy and Battery Storage Market Overview:
The Asia-Pacific Solar Energy and...
Aircraft Seat Upholstery Market Trends, Opportunities, Current Analysis and Forecast (2024-2032) I UnivDatos
Introduction:
Aircraft Seat Upholstery is used to keep aircraft seats covered with the...
Optimizing Profit with Expert Internal Medicine and Mental Health Billing Services
Preface
In today’s evolving healthcare landscape, medical practices are constantly...
Is Your Roof in Trouble? Discover the Top Roof Repair Services in Putnam County!
Your roof stands guard over your home every day—shielding your family, belongings, and...
航空ケーブルとコネクタ業界分析レポート2025-2031:市場規模、産業調査、最新動向、成長機会
QYResearch株式会社(所在地:東京都中央区)は、最新の調査資料「航空ケーブルとコネクタ―グローバル市場シェアとランキング、全体の売上と需要予測、2025~2031」を2025年6月9日よ...
© 2025 Omaada - A global social and professionals networking platform
Russian
