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
Больше
Gir Cow Ghee 1kg Price in India – Is It Worth the Cost?
When it comes to choosing the healthiest and purest form of ghee, Gir Cow Ghee stands out for its...
Aircraft Auxiliary Power Unit Market Trends, Opportunities, Current Analysis and Forecast (2024-2032) I UnivDatos
Introduction:
According to the Universal Data Solutions analysis, growing demand for customer...
Best Digital Marketing Expert in Kochi
Best Digital Marketing Expert in Kochi | George Chacko – Digital Parrots Kochi
Looking for...
Cleaning Robot Market Analysis and Growth Opportunities 2025-2034 Forecast
The most recent report published by Vantage Market Research indicates that the "Cleaning Robot...
Digital Prescription Technology Market Analysis and Outlook Report 2025-2034
The worldwide "Digital Prescription Technology Market" 2025 Research Report presents a...
© 2025 Omaada - A global social and professionals networking platform
Russian
