Data types used in Python
Postado 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 |
Pesquisar
Categorias
- Information Technology
- Office Equipment and Supplies
- Cars and Trucks
- Persons
- Books and Authors
- Tutorials
- Art
- Causes
- Crafts
- Dance
- Drinks
- Film
- Fitness
- Food
- Jogos
- Gardening
- Health
- Início
- Literature
- Music
- Networking
- Outro
- Party
- Religion
- Shopping
- Sports
- Theater
- Wellness
Leia Mais
トリシクロデカンジメタノールジアクリレート (TCDDA)の世界市場規模:最新トレンド、成長要因、今後動向2025-2031
トリシクロデカンジメタノールジアクリレート (TCDDA)世界総市場規模...
Driving the Future of Industry: Global Factory Automation Market Accelerates
"Executive Summary Factory Automation Market :
CAGR Value
Data Bridge Market Research...
Top Tips for Creating a High-Performance Flutter App
Introduction
Mobile app development has become an essential skill in today’s tech-driven...
Livestock Grow Lights for Cattle Market Size, Share, Trends, Demand, Growth, Challenges and Competitive Outlook
"Executive Summary Livestock Grow Lights for Cattle Market :
Livestock grow lights for...
© 2025 Omaada - A global social and professionals networking platform
Portuguese
